Преглед на файлове

删除无用代码

(cherry picked from commit a3d12cc13b1cde5d1d04696048a5e2ed4f9bb2d9)
任一存 преди 3 години
родител
ревизия
b713157f7b
променени са 1 файла, в които са добавени 0 реда и са изтрити 14 реда
  1. 0 14
      packages/qjkankan-editor/src/components/shared/uploads/UploadMultiple.vue

+ 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>