2.0.0相关修改更新
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
},
|
||||
watch: {
|
||||
payAmount (newVal) {
|
||||
if ( this.payAmount < this.freeDingConfig.rechargeThreshold ) {
|
||||
if ( this.freeDingConfig && this.payAmount < this.freeDingConfig.rechargeThreshold ) {
|
||||
this.freeDisabled = true
|
||||
} else {
|
||||
this.freeDisabled = false
|
||||
@@ -46,7 +46,12 @@
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
||||
if ( this.freeDingConfig && this.payAmount < this.freeDingConfig.rechargeThreshold ) {
|
||||
this.freeDisabled = true
|
||||
} else {
|
||||
this.freeDisabled = false
|
||||
}
|
||||
console.log(this.freeDisabled )
|
||||
},
|
||||
methods: {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user