增加基座插件

样式修改
公共组件初始化内容
This commit is contained in:
xuli3099
2025-08-29 14:20:51 +08:00
parent f7f057910c
commit d15689ccb8
8 changed files with 77 additions and 13 deletions

View File

@@ -13,7 +13,7 @@ const requestHooks = {
requestInterceptorsHook(options, config) {
// console.log("request=>config=>",config)
const { urlPrefix, baseUrl, withToken, isAuth } = config;
options.header = options.header ?? {};
options.header = options.header ? options.header:{};
if (urlPrefix) {
options.url = `${urlPrefix}${options.url}`;
}