This commit is contained in:
parent
4b2934fea6
commit
80af6fcde8
5
admin/env.d.ts
vendored
5
admin/env.d.ts
vendored
|
|
@ -5,3 +5,8 @@ declare module '*.vue' {
|
|||
const component: DefineComponent<{}, {}, any>
|
||||
export default component
|
||||
}
|
||||
|
||||
declare module 'element-plus/dist/locale/zh-cn.mjs' {
|
||||
const zhCn: Record<string, any>
|
||||
export default zhCn
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ import { getStorage, removeStorage, TOKEN_KEY, LOCALE_KEY } from '../utils/stora
|
|||
|
||||
// 后端API基础地址
|
||||
// MuMu模拟器需使用宿主机局域网IP,生产环境替换为正式域名
|
||||
export const BASE_URL = 'http://192.168.21.9:5082'
|
||||
// export const BASE_URL = 'https://api.tty.shhmkjgs.cn'
|
||||
// export const BASE_URL = 'http://192.168.21.9:5082'
|
||||
export const BASE_URL = 'https://api.tty.shhmkjgs.cn'
|
||||
|
||||
/**
|
||||
* 统一请求封装,自动注入Token和语言请求头,统一处理响应和错误
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user