Ver código fonte

feat:更新文件

jinx 3 anos atrás
pai
commit
2781744064
1 arquivos alterados com 7 adições e 1 exclusões
  1. 7 1
      components/upload-pointClound/index.js

+ 7 - 1
components/upload-pointClound/index.js

@@ -101,7 +101,7 @@
             },
             openUpload() {
                 // 
-                if (this.value!='') {
+                if (this.value != '') {
                     this.$parent.showLoading('上传中...')
                     let res = this.hasList.filter(i => {
                         console.log(i.sceneNum)
@@ -131,6 +131,12 @@
                                 duration: 2000,
                             });
                             IV.api.AuthenticationService.sendAuthenticationChanged()
+                        } else if (res.data.code == 3005) {
+                            this.$message({
+                                message: '不可重复添加',
+                                type: 'error',
+                                duration: 2000,
+                            });
                         } else {
                             this.$message({
                                 message: '数据集添加失败,请重试',