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