增加local模式自定义服务器url

This commit is contained in:
XieHaoLiang 2024-12-26 15:10:01 +08:00
parent f2c5ec5fed
commit ce8f68917a

View File

@ -979,15 +979,11 @@ export async function parsingCharacteristicValue(binaryData) {
// 获取配置 // 获取配置
export function getConfig() { export function getConfig() {
let config = {}
if (this.env === "LOCAL"){ const config = this.env === "LOCAL" ? {
config = { name: 'LOCAL',
name: 'LOCAL', baseUrl: this.url
baseUrl: this.url } : configs[this.env];
}
}else{
config = configs[this.env]
}
return { return {
...config, ...config,