Browse Source

perf(views): 修复“基础信息”步骤图片地址异常问题

wangshun 1 month ago
parent
commit
b3851edb57
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/create-device/BasicInformation.vue

+ 1 - 1
src/views/create-device/BasicInformation.vue

@@ -20,7 +20,7 @@ const selectTypeRquipment = (value: SelectValue, option: DefaultOptionType) => {
 };
 
 const imgUrl = computed(() => {
-  return import.meta.env.VITE_IMG_API + props.form.imgUrl;
+  return import.meta.env.VITE_IMG_API + '/' + props.form.imgUrl;
 });
 
 onMounted(() => {