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.
@@ -56,7 +56,7 @@ export default {
56
56
 
57
57
  <style lang="scss">
58
58
  .ml-chunk-item {
59
- display: flex;
59
+ display: inline-flex;
60
60
  flex-direction: column;
61
61
  padding: 20rpx;
62
62
  line-height: 50rpx;
@@ -244,10 +244,10 @@ export default {
244
244
  },
245
245
  watch: {
246
246
  value () {
247
- if (!this.isUpdate) {
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.isUpdate = true
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.isUpdate = true
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.isUpdate = true
506
+ this.isModelUpdate = true
507
507
  this.updateModel()
508
508
  this.loading = false
509
509
  }).catch((e) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "1.0.32",
3
+ "version": "1.0.34",
4
4
  "description": "码里云小程序组件库",
5
5
  "files": [
6
6
  "lib",