Browse Source

modify some codes

master
xiaowuler 3 years ago
parent
commit
830e9c15a3
  1. 1
      04.系统编码/Backend/src/main/java/com/userinformation/backend/config/WebMvcConfig.java
  2. 4
      04.系统编码/Frontend/src/components/DecisionSupport.vue
  3. 3
      04.系统编码/Frontend/src/uilts/axios.ts

1
04.系统编码/Backend/src/main/java/com/userinformation/backend/config/WebMvcConfig.java

@ -2,6 +2,7 @@ package com.userinformation.backend.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
/**

4
04.系统编码/Frontend/src/components/DecisionSupport.vue

@ -101,8 +101,8 @@
imgUrl: '',
preview: []
}],
indicatorImg: '/images/decision-support/pollution-indicator/pollution-indicator.png',
indicatorPreview: ['/images/decision-support/pollution-indicator/pollution-indicator.png']
indicatorImg: '/product/picture/images/decision-support/pollution-indicator/pollution-indicator.png',
indicatorPreview: ['/product/picture/images/decision-support/pollution-indicator/pollution-indicator.png']
})
onMounted(() => {

3
04.系统编码/Frontend/src/uilts/axios.ts

@ -5,7 +5,8 @@ import { ElLoading } from 'element-plus'
let loading = null;
const service = axios.create({
baseURL:"http://localhost:8002",
// baseURL:"http://localhost:8002",
baseURL:"",
timeout: 500000
})

Loading…
Cancel
Save