update
This commit is contained in:
@@ -9,6 +9,8 @@ const excludeURL = [
|
|||||||
'/index/business/getMenu',
|
'/index/business/getMenu',
|
||||||
'/admin/login/login',
|
'/admin/login/login',
|
||||||
'/index/login/login',
|
'/index/login/login',
|
||||||
|
'/index/task/getCommonRefund',
|
||||||
|
'/index/task/getDiyRefund',
|
||||||
];
|
];
|
||||||
|
|
||||||
export const BASEURL = import.meta.env.MODE === 'development' ? '/baseApi' : import.meta.env.VITE_API_URL;
|
export const BASEURL = import.meta.env.MODE === 'development' ? '/baseApi' : import.meta.env.VITE_API_URL;
|
||||||
@@ -60,7 +62,7 @@ request.interceptors.response.use((response) => {
|
|||||||
const {updateRouterTag} = useSystemStore();
|
const {updateRouterTag} = useSystemStore();
|
||||||
|
|
||||||
if (!excludeURL.includes(response.config.url)) {
|
if (!excludeURL.includes(response.config.url)) {
|
||||||
updateRouterTag();
|
updateRouterTag().then();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!data.data) {
|
if (!data.data) {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user