test: 预发布加载路由异常测试

This commit is contained in:
wangxuefeng
2025-03-13 18:25:18 +08:00
parent 11591eefcf
commit 1c6ac05f16
4 changed files with 15 additions and 13 deletions

View File

@@ -9,6 +9,7 @@ export type LowCodeFileSchema = {
file_path?: string;
project_id: number;
publish: boolean;
published_dsl: BlockSchema;
};
function transformFile(file: LowCodeFileSchema): LowCodeFileSchema {

View File

@@ -13,8 +13,6 @@ instance.interceptors.request.use(
(config) => {
// 可在此处添加统一请求头等配置
const userStore = useUserStore();
console.log(localStorage.getItem('y-code-access-token'));
console.log(userStore.token);
config.headers.Authorization = `Bearer ${userStore.token}`;
return config;
},