Compare commits

..

No commits in common. "3f144cdf733b5e3558df8e4677e6b0280d50608a" and "57ff4c09176379eba2281acd0559124e12a2ced8" have entirely different histories.

2 changed files with 10 additions and 12 deletions

View File

@ -377,15 +377,13 @@ export const constantRoutes = [
name: 'homePageOPC',
hidden: true,
meta: { title: 'OPC公共服务平台', onCache: true }
},
// {
// path: 'computeMarket',
// component: () => import('@/views/homePage/computeMarket/index.vue'),
// name: 'computeMarket',
// hidden: true,
// meta: { title: '算力市场', onCache: true }
// },
{
}, {
path: 'computeMarket',
component: () => import('@/views/homePage/computeMarket/index.vue'),
name: 'computeMarket',
hidden: true,
meta: { title: '算力市场', onCache: true }
}, {
path: 'computeMarket/createInstance',
component: () => import('@/views/homePage/computeMarket/createInstance.vue'),
name: 'computeMarketCreateInstance',

View File

@ -294,7 +294,7 @@ export default Vue.extend({
// 产品菜单(action 为稳定路由标识,label 由计算属性按语言生成)
productMenuItems: [
{ action: 'opc' },
// { action: 'computeMarket' },
{ action: 'computeMarket' },
{ action: 'tokenMarket' },
{ action: 'yuanjing' },
{ action: 'trainPlatform' },
@ -342,7 +342,7 @@ export default Vue.extend({
const isEn = this.activeLocale === 'en-US'
const labels = {
opc: 'OPC',
// computeMarket: isEn ? 'Compute Market' : '算力市场',
computeMarket: isEn ? 'Compute Market' : '算力市场',
tokenMarket: isEn ? 'Token Market' : 'Token市集',
yuanjing: isEn ? 'Yuanjing' : '元境',
trainPlatform: isEn ? 'Train & Infer' : '训推平台',
@ -434,7 +434,7 @@ export default Vue.extend({
handleProductMenuClick(action) {
const actionMap = {
opc: () => this.navigateTo('/homePage/opc'),
// computeMarket: () => this.navigateTo('/homePage/computeMarket'),
computeMarket: () => this.navigateTo('/homePage/computeMarket'),
tokenMarket: this.handleModelSquareClick,
yuanjing: this.goYuanjing,
trainPlatform: () => this.navigateTo('/homePage/trainPlatform'),