Quellcode durchsuchen

fix(组件): 修复 search

gemercheung vor 2 Jahren
Ursprung
Commit
dd3d30cb64

+ 5 - 0
src/views/dashboard/analysis/enterprise.vue

@@ -139,6 +139,7 @@
           params: {
             page: 1,
             limit: 1000,
+            state: 103,
           },
         },
       },
@@ -218,6 +219,10 @@
       return data;
     },
     searchInfo: searchInfo,
+    handleSearchInfoFn(data) {
+      searchInfo.value = Object.assign(searchInfo.value, data);
+      console.log(searchInfo.value);
+    },
   });
 
   async function handleExport() {

+ 4 - 0
src/views/dashboard/analysis/index.vue

@@ -186,6 +186,10 @@
       return data;
     },
     searchInfo: searchInfo,
+    handleSearchInfoFn(data) {
+      searchInfo.value = Object.assign(searchInfo.value, data);
+      console.log(searchInfo.value);
+    },
   });
 
   onMounted(() => {