swordpass-ui 1.1.1 → 1.1.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swordpass-ui",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "author": "sword",
5
5
  "private": false,
6
6
  "scripts": {
@@ -15,7 +15,6 @@
15
15
  :name="inputName"
16
16
  />
17
17
  <file-upload
18
- v-if="inputWriteable"
19
18
  ref="fileUpload"
20
19
  v-model="inputVal"
21
20
  :list-type="pictureWall ? 'picture-card' : null"
@@ -342,10 +341,12 @@ export default {
342
341
  prop5: '',
343
342
  prop6: '',
344
343
  }
344
+ console.log('item', item)
345
345
  if (file.response) {
346
346
  item.response = { ...file.response }
347
347
  item.username = file.response.username || ''
348
348
  }
349
+
349
350
  return item
350
351
  },
351
352
  // 对附件对象的操作,包括:添加、更新、删除、清空、调整顺序
@@ -376,7 +377,7 @@ export default {
376
377
  }
377
378
  }
378
379
  this.$emit('input', ary.length > 0 ? JSON.stringify(ary) : '')
379
- this.refreshFileUploadDebounce()
380
+ // this.refreshFileUploadDebounce()
380
381
  },
381
382
  // 同步附件数据到上传组件
382
383
  refreshFileUpload() {