This commit is contained in:
Net 2025-06-02 20:51:52 +08:00
parent 1c1fe848fb
commit d7c34c84f4
2 changed files with 4 additions and 3 deletions

View File

@ -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";

View File

@ -6,7 +6,8 @@ import {URL_REG} from "@/utils/RegExp";
*
*
* */
export function imagUrl(path: string): string {
export function imagUrl(path: string) {
if (!path) return
if (!URL_REG.test(path)) {
if (BASE_IMAGE_URL === '/') {
return path