bug
This commit is contained in:
@@ -97,6 +97,7 @@
|
|||||||
val1: '',
|
val1: '',
|
||||||
val2: '',
|
val2: '',
|
||||||
val3: '',
|
val3: '',
|
||||||
|
val4: '',
|
||||||
val5: '',
|
val5: '',
|
||||||
data: {},
|
data: {},
|
||||||
title: '',
|
title: '',
|
||||||
@@ -104,13 +105,16 @@
|
|||||||
disabled2: false
|
disabled2: false
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
watch: {
|
||||||
val4 () {
|
val3 () {
|
||||||
let res = ''
|
|
||||||
if (this.val5 !== '') {
|
if (this.val5 !== '') {
|
||||||
res = accSubtract(this.val5, this.val3)
|
this.val4 = accSubtract(this.val5, this.val3)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
val4 () {
|
||||||
|
if (this.val5 !== '') {
|
||||||
|
this.val3 = accSubtract(this.val5, this.val4)
|
||||||
}
|
}
|
||||||
return res
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad (options) {
|
onLoad (options) {
|
||||||
|
|||||||
Reference in New Issue
Block a user