mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-10 20:36:55 +08:00
feat: 更新配置和组件以支持选择项功能, 开始手柄映射功能编写
- 在DynamicForm.vue中新增select组件支持 - 在VTsuruConfigTypes.ts中添加可选的条件显示属性 - 更新vite.config.mts以集成自定义SVGO插件 - 在components.d.ts中添加NDescriptionsItem组件声明 - 更新路由配置以包含obs_store模块
This commit is contained in:
@@ -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
24
src/router/obs_store.ts
Normal 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,
|
||||
}
|
||||
},
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user