商务合作修改
This commit is contained in:
@@ -208,22 +208,6 @@ const pingErrorPop = (hosts: any) => {
|
||||
}
|
||||
}
|
||||
};
|
||||
const queryContactInfo = async () => {
|
||||
try {
|
||||
let req = {
|
||||
type: 2,
|
||||
};
|
||||
const res: any = await AppApi.getBusiness(req);
|
||||
useConfigStore().setContactInfo(res || []);
|
||||
// console.log(res);
|
||||
// contactInfo
|
||||
// configStore.saveAppConfig(configList);
|
||||
// initSourceInfo(configList.sourceList);
|
||||
// return true;
|
||||
} catch (error) {
|
||||
// return false;
|
||||
}
|
||||
};
|
||||
/**
|
||||
* 初始化
|
||||
*/
|
||||
@@ -272,7 +256,6 @@ const init = async () => {
|
||||
}
|
||||
}
|
||||
}
|
||||
queryContactInfo();
|
||||
//获取配置信息
|
||||
const configOk = await getConfig();
|
||||
globalStore.setVideoRoadLine(configStore.sourceInfo.VID[0]); // 默认选择第一个线路
|
||||
|
||||
Reference in New Issue
Block a user