This commit is contained in:
PC-202306242200\Administrator
2024-09-12 18:41:02 +08:00
parent 8eda45d2e7
commit 297ea96567
7 changed files with 315 additions and 128 deletions

View File

@@ -82,6 +82,16 @@ export default defineConfig({
locale: false,
...defaultSettings,
},
define: {
'process.env': {
API_URL: "https://iadminapi.zhongshuai2023.com",
// API_URL: " https://shopapi.houyi2023.cn",
// API_URL: "http://shopapi.houyi2023.cn",
WS_URL: "ws://lv.com",
STATIC_URL: "http://lv.com",
WEMAP_KEY: 'ZFDBZ-YUTWB-353UZ-NYKEY-JTVIZ-Q3F6X'
}
},
/**
* @name moment2dayjs 插件
* @description 将项目中的 moment 替换为 dayjs