Просмотр исходного кода

删除无用代码

(cherry picked from commit a3d12cc13b1cde5d1d04696048a5e2ed4f9bb2d9)
任一存 3 лет назад
Родитель
Сommit
b713157f7b

+ 0 - 14
packages/qjkankan-editor/src/components/shared/uploads/UploadMultiple.vue

@@ -90,24 +90,10 @@ export default {
       e.target.value = "";
     });
   },
-  beforeDestroy() {
-    // this.clear();
-  },
   methods: {
     click() {
       this.$el.click();
     },
-    clear() {
-      this.dataURL && window.URL.revokeObjectURL(this.dataURL);
-      this.name = null;
-      this.type = null;
-      this.size = null;
-      this.files = null;
-      this.dataURL = null;
-      this.base64 = null;
-      this.poster = null;
-    },
-    upload() {},
   },
 };
 </script>