Parcourir la source

网页标题修改

王通 il y a 1 an
Parent
commit
0418b77483
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      src/views/forest.vue

+ 4 - 1
src/views/forest.vue

@@ -495,12 +495,15 @@ export default {
     // this.initWebSocket()
     /** ----------------------------------weosocket结束------------------------------------- */
     this.bottomMenuList() //获取底部公共组件消息和任务
+    setTimeout(() => {
+      this.title = '四平市态势感知平台'
+    }, 1000)
   },
   data() {
     return {
       //警报MP3文件
       audioSrc: require('@/assets/jingbao.mp3'),
-
+      title:'',
       calendarDay: this.getCurrentDataStr(),
       //基本情况
       forestInfo: '', //基本情况