Commit feb6faee by 孙美琪

解决方案修改

parent ecbd4d10
......@@ -62,7 +62,6 @@ import {computed} from 'vue'
import {useRoute, useRouter} from 'vue-router'
import AppMain from '@/layout/components/AppMain.vue'
import {categoryMenuNew} from '@/api/computingResource.js'
import {industryMenu} from '@/api/industry.js'
import useUserStore from '@/store/modules/user.js'
import {ElMessageBox} from 'element-plus'
......@@ -75,7 +74,7 @@ const activeMenu = computed(() => {
if (meta.activeMenu) {
return meta.activeMenu
}
const titleList = ['计算资源', '行业应用']
const titleList = ['计算资源', '行业应用', '解决方案']
return titleList.includes(meta.title) ? fullPath : path
})
......@@ -85,25 +84,14 @@ function menuSelect(val, indexPath, item) {
const computilityMenuData = ref([])
// const industryMenuData = ref([])
function getComputilityMenu() {
categoryMenuNew().then(res => {
console.log(res, 'res')
computilityMenuData.value = res.data
})
}
// function getIndustryMenu() {
// industryMenu().then(res => {
// industryMenuData.value = res.data
// })
// }
getComputilityMenu()
// getIndustryMenu()
function handleCommand(command) {
switch (command) {
case 'setLayout':
......
......@@ -13,6 +13,7 @@ const whiteList = [
'/register',
'/index',
'/computingResource/resourceList',
'/industryApplications/index',
'/industryApplications/detail',
'/componentServices/componentServicesList',
'/partnership/partnershipList',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment