feat: 更新配置和组件以支持选择项功能, 开始手柄映射功能编写

- 在DynamicForm.vue中新增select组件支持
- 在VTsuruConfigTypes.ts中添加可选的条件显示属性
- 更新vite.config.mts以集成自定义SVGO插件
- 在components.d.ts中添加NDescriptionsItem组件声明
- 更新路由配置以包含obs_store模块
This commit is contained in:
2025-05-11 05:49:50 +08:00
parent f2f7a7e8af
commit 1ae528b9a9
264 changed files with 72948 additions and 7 deletions

View File

@@ -7,6 +7,7 @@ import obs from './obs'
import open_live from './open_live'
import singlePage from './singlePage'
import client from './client';
import obs_store from './obs_store'
const routes: Array<RouteRecordRaw> = [
{
@@ -89,6 +90,7 @@ const routes: Array<RouteRecordRaw> = [
manage,
obs,
open_live,
obs_store,
client,
{
path: '/@:id',

24
src/router/obs_store.ts Normal file
View File

@@ -0,0 +1,24 @@
export default {
path: '/obs-store',
name: 'obs-store',
children: [
{
path: 'gamepad-manage',
name: 'obs-store-gamepad-manage',
component: () => import('@/views/manage/obs_store/components/gamepads/GamepadViewer.vue'),
meta: {
title: '游戏手柄',
forceReload: true,
}
},
{
path: 'gamepad',
name: 'obs-store-gamepad-display',
component: () => import('@/views/manage/obs_store/components/gamepads/GamepadDisplay.vue'),
meta: {
title: '手柄显示',
forceReload: true,
}
},
]
}