From 1ca3f7c2c0c0c00e8395e26c59796c875d34e12c Mon Sep 17 00:00:00 2001
From: luchanan <398778994@qq.com>
Date: 星期三, 06 十二月 2023 12:07:14 +0800
Subject: [PATCH] feat: table搜索表单值发生改变可以触发reload (#3378)

---
 src/views/demo/table/tableData.tsx |   39 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/src/views/demo/table/tableData.tsx b/src/views/demo/table/tableData.tsx
index a4eb785..a1397ee 100644
--- a/src/views/demo/table/tableData.tsx
+++ b/src/views/demo/table/tableData.tsx
@@ -259,6 +259,45 @@
           xxl: 8,
         },
       },
+      {
+        field: `field12`,
+        label: `input鍊兼敼鍙榒,
+        component: 'InputSearch',
+        enableWatchEvent: true,
+        componentProps: {
+          placeholder: '闇�瑕佸紑鍚痺atchEvent',
+        },
+        colProps: {
+          xl: 12,
+          xxl: 8,
+        },
+      },
+      {
+        field: 'field13',
+        component: 'Select',
+        label: 'select鍊兼敼鍙�',
+        componentProps: {
+          placeholder: '闇�瑕佸紑鍚痺atchEvent',
+          options: [
+            {
+              label: '鍏紑',
+              value: '1',
+            },
+            {
+              label: '閮ㄥ垎鍏紑',
+              value: '2',
+            },
+            {
+              label: '涓嶅叕寮�',
+              value: '3',
+            },
+          ],
+        },
+        colProps: {
+          xl: 12,
+          xxl: 8,
+        },
+      },
     ],
   };
 }

--
Gitblit v1.8.0