Browse Source

页面title修改

wang_xy 1 year ago
parent
commit
684f185b73
2 changed files with 2 additions and 4 deletions
  1. 1 3
      src/views/forest.vue
  2. 1 1
      vue.config.js

+ 1 - 3
src/views/forest.vue

@@ -489,6 +489,7 @@ export default {
       this.getEventByReportorOrder(this.getCurrentDataStr())
       this.getExposureStage(this.getCurrentDataStr())
       this.getSupermap(this.getCurrentDataStr())
+      this.title = '四平市态势感知平台'
     }, 2000)
     this.getBaseInfo()
 
@@ -497,9 +498,6 @@ export default {
     // this.initWebSocket()
     /** ----------------------------------weosocket结束------------------------------------- */
     this.bottomMenuList() //获取底部公共组件消息和任务
-    setTimeout(() => {
-      this.title = '四平市态势感知平台'
-    }, 1000)
   },
   data() {
     return {

+ 1 - 1
vue.config.js

@@ -54,7 +54,7 @@ module.exports = {
       [process.env.VUE_APP_BASE_API]: {
         //target: `http://127.0.0.1:3031`,
         // target: `http://192.168.2.118:3031`,
-          target: `http://121.36.228.66:3031`,
+          target: `http://10.6.52.11:3031`,
         //  target: `https://29613561xe.eicp.vip`,
         changeOrigin: true,
         pathRewrite: {