refactor(module-management): R2a UI 归一——小文件替换为 ui 组件

- ui Input 补 defineExpose(focus/select/blur),供内联重命名程序化聚焦
- index.vue 树头新建按钮、ModuleBasicPanel 多语言按钮 → ui Button
- StructureTreeNode 内联重命名 input → ui Input,六个操作钮 → ui Button
- ModuleStructureTree 自绘右键菜单 → ui Dropdown(trigger=contextmenu),
  删除自绘定位/关闭监听与 .mst-context-* 样式
This commit is contained in:
oneao committed 2026-08-28 16:25:58 +08:00
1 parent 2dba857880
commit ce3a9d87f8
5 files changed
+108 -221

No files matched your search

@@ -371,9 +371,9 @@ loadModuleTree()
</Input>
<div class="mm-tree-header__actions">
<Dropdown :items="moduleNewItems" @click="onModuleNewClick">
<button type="button" class="mm-tree-header__icon-btn" title="新建模块" aria-label="新建模块">
<Button type="ghost" class="mm-tree-header__icon-btn" title="新建模块" aria-label="新建模块">
<Plus :size="14" />
</button>
</Button>
</Dropdown>
</div>
</div>