Browse Source

修改

master
gjh 3 days ago
parent
commit
a0b589680f
  1. 2
      src/views/projectLib/projectPlan/index.vue
  2. 4
      vite.config.ts

2
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';

4
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`), ''),

Loading…
Cancel
Save