mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-09 13:53:38 +08:00
perf: 使用/** */替换//注释,对编辑器的智能提示更友好
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user