diff --git a/src/components/ImageUpload/index.vue b/src/components/ImageUpload/index.vue
index 55dafb8..5157f1e 100644
--- a/src/components/ImageUpload/index.vue
+++ b/src/components/ImageUpload/index.vue
@@ -93,7 +93,7 @@ watch(() => props.modelValue, val => {
// 然后将数组转为对象数组
fileList.value = list.map(item => {
if (typeof item === "string") {
- if (item.indexOf(baseUrl) === -1) {
+ if (item.indexOf(baseUrl) === -1 && item.indexOf("http") === -1) {
item = { name: baseUrl + item, url: baseUrl + item };
} else {
item = { name: item, url: item };
diff --git a/src/views/system/system/goods/index.vue b/src/views/system/system/goods/index.vue
new file mode 100644
index 0000000..c0242e2
--- /dev/null
+++ b/src/views/system/system/goods/index.vue
@@ -0,0 +1,257 @@
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/user/profile/userAvatar.vue b/src/views/system/user/profile/userAvatar.vue
index 3b39636..dd3d473 100644
--- a/src/views/system/user/profile/userAvatar.vue
+++ b/src/views/system/user/profile/userAvatar.vue
@@ -126,7 +126,8 @@ function uploadImg() {
formData.append("avatarfile", data, options.filename);
uploadAvatar(formData).then(response => {
open.value = false;
- options.img = import.meta.env.VITE_APP_BASE_API + response.imgUrl;
+ // options.img = import.meta.env.VITE_APP_BASE_API + response.imgUrl;
+ options.img = response.imgUrl;
userStore.avatar = options.img;
proxy.$modal.msgSuccess("修改成功");
visible.value = false;