Переглянути джерело

上传图片或引用图片路径修复

zweizhao 7 роки тому
батько
коміт
e3daa2009e
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      src/module/main/components/dev_show.vue

+ 1 - 1
src/module/main/components/dev_show.vue

@@ -146,7 +146,7 @@ export default {
       this.centerDialogVisible = true;
     },
     handleAvatarSuccess(res, file) {
-      this.ruleForm.url = res.data.file_url;
+      this.ruleForm.url = res.data.file_url_abs;
     },
     beforeAvatarUpload(file) {
       const isJPG = file.type === 'image/jpeg' || file.type === 'image/png';