Merge pull request '合并' (#494) from dev-zw into dev-opt

This commit is contained in:
cp3hnu 2026-07-06 10:01:14 +08:00
commit 5e8f04116c
2 changed files with 17 additions and 13 deletions

View File

@ -451,18 +451,6 @@ export default [
},
],
},
{
name: '知识图谱',
path: 'knowledge',
routes: [
{
name: '知识图谱',
path: '',
key: 'knowledge',
component: './Knowledge/index',
},
],
},
{
name: 'Skill',
path: 'skills',
@ -487,6 +475,18 @@ export default [
},
],
},
{
name: '知识图谱',
path: 'knowledge',
routes: [
{
name: '知识图谱',
path: '',
key: 'knowledge',
component: './Knowledge/index',
},
],
},
{
name: '应用开发',
path: 'apps',

View File

@ -40,7 +40,11 @@ function NavBar() {
// 打开云实验平台
const openCloudExperimentPlatform = () => {
const token = getCEPToken();
window.open(`http://30.100.0.37?apiKey=${token}`, '_blank');
if (token) {
window.open(`http://30.100.0.37?apiKey=${token}`, '_blank');
} else {
window.open(`http://30.100.0.37`, '_blank');
}
};
// 打开云际算力网平台