perf: 使用/** */替换//注释,对编辑器的智能提示更友好

This commit is contained in:
xiaoxian521
2022-09-11 16:46:21 +08:00
parent 230af57c3e
commit ee65ec9f72
12 changed files with 45 additions and 46 deletions

View File

@@ -27,7 +27,7 @@ const getConfig = (key?: string): ServerConfigs => {
return config;
};
// 获取项目动态全局配置
/** 获取项目动态全局配置 */
export const getServerConfig = async (app: App): Promise<undefined> => {
app.config.globalProperties.$config = getConfig();
return axios({