7f317442 by joe

修改上传回退的bug

1 parent 69f9df43
...@@ -75,12 +75,14 @@ export default { ...@@ -75,12 +75,14 @@ export default {
75 sessionStorage.removeItem(key); 75 sessionStorage.removeItem(key);
76 try { 76 try {
77 let d = JSON.parse(str); 77 let d = JSON.parse(str);
78 d.showMask = false;
78 this.images.push(d); 79 this.images.push(d);
79 } catch (e) { 80 } catch (e) {
80 console.error(e); 81 console.error(e);
81 } 82 }
82 } 83 }
83 } 84 }
85 this.uploadFiles = this.images.length;
84 }, 86 },
85 cacheData() { 87 cacheData() {
86 for (let index = 0; index < this.images.length; index++) { 88 for (let index = 0; index < this.images.length; index++) {
......