diff --git a/ebts-ui/.env.production b/ebts-ui/.env.production index ccffda9..f4c1f6c 100644 --- a/ebts-ui/.env.production +++ b/ebts-ui/.env.production @@ -3,4 +3,4 @@ ENV = 'production' # EBTS/生产环境 #VUE_APP_BASE_API = '/prod-api' -VUE_APP_BASE_API = 'http://localhost:8096/dev-api' +VUE_APP_BASE_API = 'http://sistapi.hchyun.cn:88/dev-api' diff --git a/ebts-ui/.env.staging b/ebts-ui/.env.staging index 4280611..4364cfe 100644 --- a/ebts-ui/.env.staging +++ b/ebts-ui/.env.staging @@ -5,4 +5,4 @@ ENV = 'staging' # EBTS/测试环境 #VUE_APP_BASE_API = '/dev-api' -VUE_APP_BASE_API = 'http://sistapi.hchyun.cn/dev-api' +VUE_APP_BASE_API = 'http://sistapi.hchyun.cn:88/dev-api' diff --git a/ebts-ui/src/assets/logo/loginlogo.png b/ebts-ui/src/assets/logo/loginlogo.png new file mode 100644 index 0000000..36b8600 Binary files /dev/null and b/ebts-ui/src/assets/logo/loginlogo.png differ diff --git a/ebts-ui/src/components/FileUpload/index.vue b/ebts-ui/src/components/FileUpload/index.vue index 0a05410..e77d32b 100644 --- a/ebts-ui/src/components/FileUpload/index.vue +++ b/ebts-ui/src/components/FileUpload/index.vue @@ -49,7 +49,7 @@ export default { // 大小限制(MB) fileSize: { type: Number, - default: 10, + default: 50, }, // 文件类型, 例如['png', 'jpg', 'jpeg'] fileType: { @@ -115,7 +115,7 @@ export default { return false; }); if (!isTypeOk) { - this.$message.error('文件格式不正确, 请上传${this.fileType.join("/")}格式文件!'); + this.$message.error('文件格式不正确, 请上传'+this.fileType.join("/")+'格式文件!'); return false; } } @@ -123,7 +123,7 @@ export default { if (this.fileSize) { const isLt = file.size / 1024 / 1024 < this.fileSize; if (!isLt) { - this.$message.error('提交文件大小不能超过 ${this.fileSize} MB!'); + this.$message.error('提交文件大小不能超过' + this.fileSize + 'MB!'); return false; } } diff --git a/ebts-ui/src/views/sist/file/index.vue b/ebts-ui/src/views/sist/file/index.vue index bed883b..47a8579 100644 --- a/ebts-ui/src/views/sist/file/index.vue +++ b/ebts-ui/src/views/sist/file/index.vue @@ -139,7 +139,7 @@ - +