diff --git a/src/views/projectLib/projectPlan/index.vue b/src/views/projectLib/projectPlan/index.vue index b4a4d55..e9f52ae 100644 --- a/src/views/projectLib/projectPlan/index.vue +++ b/src/views/projectLib/projectPlan/index.vue @@ -150,7 +150,7 @@ } async function handlePlan(record: any) { if (record.stage == 5) { - const res = await queryUpdatePlanFlagById({projectid:record.id}); + const res = await queryUpdatePlanFlagById({projectId:record.id}); console.log(res) if (res) { type.value = '2'; diff --git a/vite.config.ts b/vite.config.ts index 81643d7..5d2f15d 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -22,7 +22,7 @@ export default defineApplicationConfig({ hmr: true, proxy: { '/guoyan': { - target: 'http://10.1.21.250:18081', + target: 'http://localhost:8080/', changeOrigin: true, ws: true, rewrite: (path) => path.replace(new RegExp(`^/guoyan`), ''), @@ -30,7 +30,7 @@ export default defineApplicationConfig({ // secure: false }, '/upload': { - target: 'http://10.1.21.250:18081:3300/upload', + target: 'http://localhost:3300/upload', changeOrigin: true, ws: true, rewrite: (path) => path.replace(new RegExp(`^/upload`), ''),