Просмотр исходного кода

处理银行帐号出现两次情况和时间初始化问题

wangcz 7 лет назад
Родитель
Сommit
e9f7d99de4

+ 4 - 0
components/mobile/base/BaseFilter.vue

@@ -65,6 +65,10 @@
       defaultVal: {
         handler: function (val) {
           this.val = val
+          this.$emit('selectAction', {
+            key: this.selectOption,
+            value: this.selectOption === 'date' ? this.getDateObj(val) : val
+          })
         },
         immediate: true
       }

+ 2 - 4
pages/mobile/center/user/payCenter.vue

@@ -346,8 +346,7 @@
             }
             this.accountList = [...this.accountList, ...val.content]
           }
-        },
-        immediate: true
+        }
       },
       'buyerRecord': {
         handler: function (val) {
@@ -358,8 +357,7 @@
             }
             this.recordList = [...this.recordList, ...val.content]
           }
-        },
-        immediate: true
+        }
       }
     },
     created () {

+ 2 - 4
pages/mobile/center/vendor/payCenter.vue

@@ -354,8 +354,7 @@
             }
             this.accountList = [...this.accountList, ...val.content]
           }
-        },
-        immediate: true
+        }
       },
       'vendorRecord': {
         handler: function (val) {
@@ -368,8 +367,7 @@
 //            this.totalRecordPrice = this.baseUtils.priceFixed(this.totalRecordPrice + this.recordData.data.data.total)
             this.recordList = [...this.recordList, ...val.content]
           }
-        },
-        immediate: true
+        }
       }
     },
     filters: {