Explorar el Código

feat:上传图片更新

ananzhusen hace 1 año
padre
commit
fb420246b0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/components/Graphics.vue

+ 1 - 1
src/views/components/Graphics.vue

@@ -1544,7 +1544,7 @@ const fileSuccessed = async (content: any) => {
     }
   } else if (activedGroup.value === '图片') {
     uploadGroup.list.push({
-      image: content.response.filename,
+      image: content.response.url,
       visible: true,
       folder: content.response.metadata.directory,
     });