xianniu-ui 0.8.56 → 0.8.57
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/lib/xianniu-ui.common.js +32 -36
- package/lib/xianniu-ui.umd.js +32 -36
- package/lib/xianniu-ui.umd.min.js +2 -2
- package/package.json +1 -1
- package/packages/upload/main.vue +3 -4
package/package.json
CHANGED
package/packages/upload/main.vue
CHANGED
|
@@ -362,12 +362,11 @@ export default {
|
|
|
362
362
|
.then((res) => {
|
|
363
363
|
this.successFiles.push(res);
|
|
364
364
|
|
|
365
|
-
this.realFileList.forEach((item,idx) => {
|
|
365
|
+
this.realFileList.forEach((item,idx,arr) => {
|
|
366
366
|
if (item.uid === res.file.uid) {
|
|
367
367
|
const obj = JSON.parse(JSON.stringify(res));
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
this.$set(this.realFileList, idx, Object.assign(obj, _item));
|
|
368
|
+
delete obj.file;
|
|
369
|
+
this.$set(arr, idx, obj);
|
|
371
370
|
}
|
|
372
371
|
});
|
|
373
372
|
this.$emit("update:fileList", this.realFileList);
|