重构进度填报

This commit is contained in:
Teo
2025-07-08 16:39:42 +08:00
parent 6c7b99ec50
commit 8ef37c5a96
53 changed files with 8882 additions and 350 deletions

View File

@ -25,7 +25,7 @@ export const globalHeaders = () => {
axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8';
axios.defaults.headers['clientid'] = import.meta.env.VITE_APP_CLIENT_ID;
axios.defaults.headers['projectId'] = cache.local.getJSON('selectedProject').id;
axios.defaults.headers['projectId'] = cache.local.getJSON('selectedProject')?.id || '';
// 创建 axios 实例
const service = axios.create({