mirror of
https://github.com/Powerful-517/yys-editor.git
synced 2026-03-05 15:05:27 +00:00
feat: 添加阴阳师和技能选择器,完成资产选择器统一架构迁移
- 新增阴阳师和阴阳师技能资产类型配置 - 添加 54 张阴阳师和技能图片资源 - 将式神和御魂选择器迁移到统一的 assetSelector 架构 - 删除 10 个冗余的独立节点和面板组件 - 统一使用 GenericImageSelector 通用选择器 - 完全实现配置驱动的设计理念 - 减少约 800+ 行重复代码 所有资产类型(式神/御魂/阴阳师/技能)现在都通过单一的 assetSelector 节点和通用选择器处理
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import { computed, ref } from 'vue';
|
||||
import ShikigamiPanel from './panels/ShikigamiPanel.vue';
|
||||
import YuhunPanel from './panels/YuhunPanel.vue';
|
||||
import PropertyRulePanel from './panels/PropertyRulePanel.vue';
|
||||
import ImagePanel from './panels/ImagePanel.vue';
|
||||
import TextPanel from './panels/TextPanel.vue';
|
||||
@@ -32,8 +30,6 @@ const nodeType = computed(() => {
|
||||
const activeTab = ref('game');
|
||||
|
||||
const panelMap: Record<string, any> = {
|
||||
shikigamiSelect: ShikigamiPanel,
|
||||
yuhunSelect: YuhunPanel,
|
||||
propertySelect: PropertyRulePanel,
|
||||
imageNode: ImagePanel,
|
||||
textNode: TextPanel,
|
||||
|
||||
Reference in New Issue
Block a user