增加基座插件
样式修改 公共组件初始化内容
This commit is contained in:
@@ -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}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user