浏览代码

数据中心侧边栏移动

reedliuqing_i 5 年之前
父节点
当前提交
37a478e3e7
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      src/views/home/index.vue

+ 0 - 5
src/views/home/index.vue

@@ -273,7 +273,6 @@ img.img-arrow {
 
 <script>
 import FloatMenu from './floatMenu'
-import { getGlobalInterface } from '@/api/data.js'
 import { logoutUrl } from '@/apiConfig/requestIP.js'
 
 export default {
@@ -305,10 +304,6 @@ export default {
         }
       })()
     }
-    getGlobalInterface().then(res => {
-      this.$store.dispatch('data/setMenu', res.data)
-      this.$store.dispatch('data/setSubMenu', res.data[0].subMenus[0])
-    })
   },
   methods: {
     handleSelect(key, keyPath) {