diff --git a/.env.development b/.env.development index b5306f2..c9d39ab 100644 --- a/.env.development +++ b/.env.development @@ -6,3 +6,6 @@ VITE_PUBLIC_PATH = ./ # 开发环境路由历史模式(Hash模式传"hash"、HTML5模式传"h5"、Hash模式带base参数传"hash,base参数"、HTML5模式带base参数传"h5,base参数") VITE_ROUTER_HISTORY = "hash" + +# 开发环境后端地址 +VITE_APP_BASE_URL = 'http://192.168.10.13:8000' diff --git a/build/info.ts b/build/info.ts index 2397171..ec543ae 100644 --- a/build/info.ts +++ b/build/info.ts @@ -17,15 +17,7 @@ export function viteBuildInfo(): Plugin { outDir = resolvedConfig.build?.outDir ?? "dist"; }, buildStart() { - console.log( - bold( - green( - `👏欢迎使用${blue( - "[admin]" - )},如果您感觉不错,记得点击后面链接给个star哦💖 https://github.com/pure-admin/vue-pure-admin` - ) - ) - ); + console.log(bold(green(`👏欢迎使用${blue("[admin]")}`))); if (config.command === "build") { startTime = dayjs(new Date()); }