diff --git a/src/config.ts b/src/config.ts index d6af5b8..27b7e0a 100644 --- a/src/config.ts +++ b/src/config.ts @@ -1,5 +1,5 @@ -// const ip: string = "119.29.194.155:8893"; -const ip: string = "yufangzc.com"; +const ip: string = "119.29.194.155:8893"; +// const ip: string = "yufangzc.com"; const fwqip: string = "yufangzc.com"; //打包服务器接口代理标识 const SERVERAGENT: string = "/jzd-api"; diff --git a/src/pages/system/login/login.vue b/src/pages/system/login/login.vue index 6250427..1236b7c 100644 --- a/src/pages/system/login/login.vue +++ b/src/pages/system/login/login.vue @@ -21,7 +21,7 @@ @select="(event:any) => afterRead(event, index)" @close="handleAvatarClose(index)" :sourceType="['camera', 'album']" - :value="student.xstx" + :value="imagUrl(student.xstx)" > @@ -108,6 +108,7 @@ import { dicApi } from "@/api/system/dic"; import { loginRegisterJzApi } from "@/api/base/server"; import { useUserStore } from "@/store/modules/user"; import { useDataStore } from "@/store/modules/data"; +import {imagUrl} from "@/utils"; const [register, { getValue }] = useForm({ formsProps: { labelWidth: 100 },