swordpass-ui 1.1.3 → 1.1.4

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.3",
3
+ "version": "1.1.4",
4
4
  "author": "sword",
5
5
  "private": false,
6
6
  "scripts": {
@@ -454,7 +454,9 @@ export default {
454
454
  // 同步附件数据到上传组件
455
455
  refreshFileUpload() {
456
456
  this.$nextTick(() => {
457
- this.$refs.fileUpload.reload(this.inputVal)
457
+ if (this.$refs.fileUpload) {
458
+ this.$refs.fileUpload.reload(this.inputVal)
459
+ }
458
460
  })
459
461
  },
460
462
  handleError(err, file) {