Explorar o código

商城管理-操作日志增加查询条件报错,同时优化主体搜索框控件问题

Guos hai 2 semanas
pai
achega
2e8d20f5df
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/views/hisStore/store/storeLog.vue

+ 4 - 0
src/views/hisStore/store/storeLog.vue

@@ -52,6 +52,7 @@
           placeholder="请输入关键字搜索"
           :remote-method="fetchMain"
           :loading="loadingMain"
+          @change="handleMainChange"
           size="small"
           style="width: 180px"
         >
@@ -258,6 +259,9 @@ export default {
     });
   },
   methods: {
+    handleMainChange(value) {
+      this.queryParams.mainId = value;
+    },
     async fetchMain(query) {
       if (!query) {
         return;