lilei 3 年之前
父节点
当前提交
456e94416e
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/views/common/settleAccount.js

+ 3 - 2
src/views/common/settleAccount.js

@@ -47,14 +47,15 @@ const SettleAccount = {
       this.defaultVal = newValue||undefined
     },
     settleStyleSn(a,b){
-      console.log(a)
       if(a){
         this.getList()
       }
     }
   },
   mounted() {
-    this.getList()
+    if(this.settleStyleSn){
+      this.getList()
+    }
   },
   methods: {
     filterOption (input, option) {