Przeglądaj źródła

fix: 添加资源库上传资源失败的方法

wu.jian2 1 rok temu
rodzic
commit
f0891a88e2
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6 0
      data-room-ui/packages/SourceList/index.vue

+ 6 - 0
data-room-ui/packages/SourceList/index.vue

@@ -216,6 +216,12 @@ export default {
     this.getDataList()
   },
   methods: {
+    uploadError () {
+      this.$message({
+        type: 'error',
+        message: '上传失败'
+      })
+    },
     uploadSuccess (response, file, fileList) {
       if (response.code === 200) {
         this.$message({