From 753244324eb25da1648de79a4b2b1df3d1a3d49c Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 10 五月 2024 16:15:21 +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