feat: 更新OBS组件和路由配置,添加动态九图生成器功能, 修复礼物描述不换行的问题

- 在package.json中添加vue-cropperjs和相关类型定义
- 在obsConstants.ts中新增示例组件和控制器组件定义
- 更新manage.ts路由配置,添加OBS组件库和直播工具箱路由
- 在DynamicForm.vue中移除调试信息输出
- 在PointGoodsItem.vue中优化商品描述的显示逻辑
- 删除不再使用的OBS组件视图文件
This commit is contained in:
Megghy
2025-06-03 18:03:49 +08:00
parent 0d5a657d5c
commit 8fd182acae
24 changed files with 2696 additions and 607 deletions

View File

@@ -36,4 +36,18 @@ export const OBSComponentMap: Record<string, OBSComponentDefinition> = {
// settingName: 'obsExampleComponentSettings',
// version: '1.0.0',
// },
Example: {
id: 'Example',
name: '示例组件',
description: '一个基础的OBS组件用于演示和测试功能。',
component: defineAsyncComponent(() => import('@/views/obs_store/components/ExampleOBSComponent.vue')),
version: '1.0.0',
},
Controller: {
id: 'Controller',
name: '控制器',
description: '将用户手柄操作映射到OBS的场景中',
component: defineAsyncComponent(() => import('@/views/obs_store/components/gamepads/GamepadViewer.vue')),
version: '1.0.0',
},
};