소스 검색

no message

zhujindu 1 년 전
부모
커밋
fb6fe4da2a
1개의 변경된 파일6개의 추가작업 그리고 3개의 파일을 삭제
  1. 6 3
      src/views/storeManagement/index.vue

+ 6 - 3
src/views/storeManagement/index.vue

@@ -912,6 +912,12 @@ export default {
     },
     // 筛选项确认
     onConfirm() {
+      this.setOption();
+      this.$refs.dropdownItem.toggle();
+      this.pageNum = 1;
+      this.getUserMyStoreList();
+    },
+    setOption() {
       let titles = [];
       let values = [];
       this.statusOption.forEach((val) => {
@@ -925,9 +931,6 @@ export default {
       this.dropdownTitle = this.activatedTitles.length
         ? this.activatedTitles.join(',')
         : '门店状态';
-      this.$refs.dropdownItem.toggle();
-      this.pageNum = 1;
-      this.getUserMyStoreList();
     },
   },
 };