mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-01-03 15:58:20 +08:00
Merge fixes and improvements (#1910)
Co-authored-by: tristanliu <tristanliu@tencent.com>
This commit is contained in:
@@ -18,6 +18,7 @@ export default defineConfig({
|
||||
API_BASE_URL: '/api/semantic/', // 直接在define中挂载裸露的全局变量还需要配置eslint,ts相关配置才能导致在使用中不会飘红,冗余较高,这里挂在进程环境下
|
||||
CHAT_API_BASE_URL: '/api/chat/',
|
||||
AUTH_API_BASE_URL: '/api/auth/',
|
||||
SHOW_TAG: false,
|
||||
...ENV_CONFIG,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -115,12 +115,12 @@ const ROUTES = [
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
{
|
||||
path: '/tag',
|
||||
name: 'tag',
|
||||
component: './SemanticModel/Insights',
|
||||
envEnableList: [ENV_KEY.SEMANTIC],
|
||||
hideInMenu: process.env.SHOW_TAG ? false : true,
|
||||
routes: [
|
||||
{
|
||||
path: '/tag',
|
||||
|
||||
Reference in New Issue
Block a user