lilei 3 anos atrás
pai
commit
456e94416e
1 arquivos alterados com 3 adições e 2 exclusões
  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) {