diff --git a/jero-web/src/components/uploadFile/file.vue b/jero-web/src/components/uploadFile/file.vue index f56d53f73..457ab1346 100644 --- a/jero-web/src/components/uploadFile/file.vue +++ b/jero-web/src/components/uploadFile/file.vue @@ -133,7 +133,7 @@ // } // } // } - this.$message.destroy() + // this.$message.destroy() }, remove() { this.fileTypeSatus = true @@ -153,7 +153,7 @@ }) if (status === 'error') { this.$emit('uploadSuccess', this.fileList) - this.$message.destroy() + // this.$message.destroy() this.$message.error(`${info.file.name}` + this.$t('FileUploadFailed')) } else if (status === 'removed') { this.myfileList = info.fileList @@ -167,7 +167,7 @@ }) this.$emit('uploadSuccess', this.fileList) if (this.myfileList.length > 0) { - this.$message.destroy() + // this.$message.destroy() this.$message.success(`${info.file.name}` + this.$t('DeletedSuccessfully')) } } else if (status === 'done') { @@ -184,7 +184,7 @@ } }) this.$emit('uploadSuccess', this.fileList) - this.$message.destroy() + // this.$message.destroy() this.$message.error(this.$t('UploadMost')) return } @@ -197,7 +197,7 @@ }) this.$emit('uploadSuccess', this.fileList) if (this.myfileList.length > 0) { - this.$message.destroy() + // this.$message.destroy() if (file.response.success) { this.$message.success(`${info.file.name}` + this.$t('FileUploadedSuccessfully')) } diff --git a/jero-web/src/components/uploadFileChange/file.vue b/jero-web/src/components/uploadFileChange/file.vue index f12def90c..97384c92d 100644 --- a/jero-web/src/components/uploadFileChange/file.vue +++ b/jero-web/src/components/uploadFileChange/file.vue @@ -109,7 +109,7 @@ // this.fileTypeSatus = false; // } // } - this.$message.destroy() + // this.$message.destroy() }, remove() { this.fileTypeSatus = true @@ -133,7 +133,7 @@ }) if (status === 'error') { this.$emit('uploadSuccess', this.fileList) - this.$message.destroy() + // this.$message.destroy() this.$message.error(`${info.file.name}` + this.$t('FileUploadFailed')) } else if (status === 'removed') { this.myfileList = info.fileList @@ -147,7 +147,7 @@ }) this.$emit('uploadSuccess', this.fileList) if (this.myfileList.length > 0) { - this.$message.destroy() + // this.$message.destroy() this.$message.success(`${info.file.name}` + this.$t('DeletedSuccessfully')) } } else if (status === 'done') { @@ -164,7 +164,7 @@ } }) this.$emit('uploadSuccess', this.fileList) - this.$message.destroy() + // this.$message.destroy() this.$message.error(this.$t('UploadMost')) return } @@ -177,7 +177,7 @@ }) this.$emit('uploadSuccess', this.fileList) if (this.myfileList.length > 0) { - this.$message.destroy() + // this.$message.destroy() if (file.response.success) { this.$message.success(`${info.file.name}` + this.$t('FileUploadedSuccessfully')) } diff --git a/jero-web/src/components/uploadFileChangeDown/file.vue b/jero-web/src/components/uploadFileChangeDown/file.vue index a8f328bc0..6c4fb3600 100644 --- a/jero-web/src/components/uploadFileChangeDown/file.vue +++ b/jero-web/src/components/uploadFileChangeDown/file.vue @@ -135,7 +135,7 @@ import { mapGetters } from 'vuex' // this.fileTypeSatus = false; // } // } - this.$message.destroy() + // this.$message.destroy() }, remove() { this.fileTypeSatus = true @@ -159,7 +159,7 @@ import { mapGetters } from 'vuex' }) if (status === 'error') { this.$emit('uploadSuccess', this.fileList) - this.$message.destroy() + // this.$message.destroy() this.$message.error(`${info.file.name}` + this.$t('FileUploadFailed')) } else if (status === 'removed') { this.myfileList = info.fileList @@ -173,7 +173,7 @@ import { mapGetters } from 'vuex' }) this.$emit('uploadSuccess', this.fileList) if (this.myfileList.length > 0) { - this.$message.destroy() + // this.$message.destroy() this.$message.success(`${info.file.name}` + this.$t('DeletedSuccessfully')) } } else if (status === 'done') { @@ -190,7 +190,7 @@ import { mapGetters } from 'vuex' } }) this.$emit('uploadSuccess', this.fileList) - this.$message.destroy() + // this.$message.destroy() this.$message.error(this.$t('UploadMost')) return } @@ -203,7 +203,7 @@ import { mapGetters } from 'vuex' }) this.$emit('uploadSuccess', this.fileList) if (this.myfileList.length > 0) { - this.$message.destroy() + // this.$message.destroy() if (file.response.success) { this.$message.success(`${info.file.name}` + this.$t('FileUploadedSuccessfully')) } diff --git a/jero-web/src/components/uploadFileOta/file.vue b/jero-web/src/components/uploadFileOta/file.vue index d61721059..eee02201e 100644 --- a/jero-web/src/components/uploadFileOta/file.vue +++ b/jero-web/src/components/uploadFileOta/file.vue @@ -132,7 +132,7 @@ // this.fileTypeSatus = false; // } // } - this.$message.destroy() + // this.$message.destroy() }, remove() { this.fileTypeSatus = true @@ -152,7 +152,7 @@ }) if (status === 'error') { this.$emit('uploadSuccess', this.fileList) - this.$message.destroy() + // this.$message.destroy() this.$message.error(`${info.file.name}` + this.$t('FileUploadFailed')) } else if (status === 'removed') { this.myfileList = info.fileList @@ -166,7 +166,7 @@ }) this.$emit('uploadSuccess', this.fileList) if (this.myfileList.length > 0) { - this.$message.destroy() + // this.$message.destroy() this.$message.success(`${info.file.name}` + this.$t('DeletedSuccessfully')) } } else if (status === 'done') { @@ -183,7 +183,7 @@ } }) this.$emit('uploadSuccess', this.fileList) - this.$message.destroy() + // this.$message.destroy() this.$message.error(this.$t('UploadMost')) return } @@ -196,7 +196,7 @@ }) this.$emit('uploadSuccess', this.fileList) if (this.myfileList.length > 0) { - this.$message.destroy() + // this.$message.destroy() if (file.response.success) { this.$message.success(`${info.file.name}` + this.$t('FileUploadedSuccessfully')) }