瀏覽代碼

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

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';