This commit is contained in:
yanran200730
2022-05-25 18:14:07 +08:00
parent 8963a7a28d
commit cb5e8ba833
4 changed files with 10 additions and 13 deletions

View File

@@ -49,7 +49,7 @@
onLoad () {
this.config = uni.getStorageSync('waterConfig')
uni.$on('change', e => {
uni.$on('filedChange', e => {
this.config.forEach((v, index) => {
if (v.type === e.type) {
this.$set(this.config[index], 'defaultValue', e.defaultValue)