mali-applet-ui 1.0.32 → 1.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -244,10 +244,10 @@ export default {
|
|
|
244
244
|
},
|
|
245
245
|
watch: {
|
|
246
246
|
value () {
|
|
247
|
-
if (!this.
|
|
248
|
-
this.isUpdate = true
|
|
247
|
+
if (!this.isModelUpdate) {
|
|
249
248
|
this.loadList()
|
|
250
249
|
}
|
|
250
|
+
this.isModelUpdate = false
|
|
251
251
|
},
|
|
252
252
|
urlList () {
|
|
253
253
|
this.loadList()
|
|
@@ -295,7 +295,7 @@ export default {
|
|
|
295
295
|
}
|
|
296
296
|
})
|
|
297
297
|
if (this.urlList && this.urlList.length) {
|
|
298
|
-
this.
|
|
298
|
+
this.isModelUpdate = true
|
|
299
299
|
this.updateModel()
|
|
300
300
|
}
|
|
301
301
|
} else {
|
|
@@ -326,7 +326,7 @@ export default {
|
|
|
326
326
|
})
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
|
-
this.
|
|
329
|
+
this.isModelUpdate = true
|
|
330
330
|
this.updateModel()
|
|
331
331
|
},
|
|
332
332
|
getThumbnailFileUrl (item) {
|
|
@@ -503,7 +503,7 @@ export default {
|
|
|
503
503
|
})
|
|
504
504
|
).then(list => {
|
|
505
505
|
this.fileList = [...this.fileList, ...list].slice(-this.limit)
|
|
506
|
-
this.
|
|
506
|
+
this.isModelUpdate = true
|
|
507
507
|
this.updateModel()
|
|
508
508
|
this.loading = false
|
|
509
509
|
}).catch((e) => {
|