From 9a139cc25da8396c1b257ccf99eb8d2fedfbc94d Mon Sep 17 00:00:00 2001
From: Liuyi <candymxq888@outlook.com>
Date: 星期三, 23 十月 2024 17:24:35 +0800
Subject: [PATCH] 添加校验,修改头像

---
 unpackage/dist/dev/mp-weixin/pages/index/index.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/unpackage/dist/dev/mp-weixin/pages/index/index.js b/unpackage/dist/dev/mp-weixin/pages/index/index.js
index 104ed16..10e4230 100644
--- a/unpackage/dist/dev/mp-weixin/pages/index/index.js
+++ b/unpackage/dist/dev/mp-weixin/pages/index/index.js
@@ -1,6 +1,7 @@
 "use strict";
 const common_vendor = require("../../common/vendor.js");
 const common_assets = require("../../common/assets.js");
+const config_baseUrl = require("../../config/baseUrl.js");
 const api_index = require("../../api/index.js");
 const _sfc_main = {
   __name: "index",
@@ -223,7 +224,7 @@
       return common_vendor.e({
         a: cardInfo.value.headImg
       }, cardInfo.value.headImg ? {
-        b: cardInfo.value.headImg
+        b: common_vendor.unref(config_baseUrl.BASE_URL) + "/upload" + cardInfo.value.headImg
       } : {
         c: common_assets._imports_0$2
       }, {

--
Gitblit v1.9.3