From 5a85dcab83e969d6b21c599b512a15117e9b8651 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 04 七月 2024 08:54:30 +0800
Subject: [PATCH] ''
---
admin/src/components/common/UploadFileCommon.vue | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/admin/src/components/common/UploadFileCommon.vue b/admin/src/components/common/UploadFileCommon.vue
index ba92eae..db8be23 100644
--- a/admin/src/components/common/UploadFileCommon.vue
+++ b/admin/src/components/common/UploadFileCommon.vue
@@ -39,7 +39,7 @@
},
data() {
return {
- uploadImgUrl: process.env.VUE_APP_API_PREFIX + '/public/upload'
+ uploadImgUrl: process.env.VUE_APP_API_PREFIX + '/visitsAdmin/cloudService/public/upload'
}
},
@@ -55,13 +55,13 @@
this.$message.success('涓婁紶鎴愬姛')
this.$emit('uploadSuccess', { fileurl: data.imgaddr, fileUrlFull: data.url, name: data.originname })
} else {
- this.$tip.apiFailed('涓婁紶澶辫触')
+ this.$message.error('涓婁紶澶辫触')
}
this.$emit('uploadEnd')
},
uploadError() {
- this.$tip.apiFailed('涓婁紶澶辫触')
- this.$emit('endUpload')
+ this.$message.error('涓婁紶澶辫触')
+ this.$emit('uploadEnd')
},
// // 鎷︽埅
beforeAvatarUpload(file) {
@@ -147,4 +147,4 @@
width: 90px !important;
height: 90px !important;
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.3