halo/ui/console-src
Ryan Wang d29a377bbd
refactor: improve code base of menu-related (#5957)
#### What type of PR is this?

/area ui
/kind improvement
/milestone 2.16.x

#### What this PR does / why we need it:

优化菜单管理相关的 UI 代码。

1. 使用 vue-draggable-plus 库代替 vuedraggable 库实现拖拽排序。vue-draggable-plus 是在 https://github.com/halo-dev/halo/pull/5914 中引入,替换的原因是 vuedraggable 库已经不再积极维护。
2. 改进菜单和菜单项编辑表单的逻辑,清理无用代码。

#### Special notes for your reviewer:

需要测试:

1. 测试菜单项拖拽排序功能是否表现正常。
2. 测试新增菜单、菜单项和修改菜单、菜单项功能是否表现正常。

#### Does this PR introduce a user-facing change?

```release-note
None
```
2024-05-21 07:10:44 +00:00
..
composables feat: add a title input box in the editor (#5465) 2024-03-18 04:38:07 +00:00
layouts fix: layout height triggers page background color not fully filling scroll area (#5698) 2024-04-16 09:32:07 +00:00
modules refactor: improve code base of menu-related (#5957) 2024-05-21 07:10:44 +00:00
router fix: wrong router navigation when redirect to /uc (#5609) 2024-03-27 13:14:06 +00:00
setup Move folder console to ui 2024-02-02 22:22:51 +08:00
stores Move folder console to ui 2024-02-02 22:22:51 +08:00
views/system refactor: implementation of browser tab title (#5794) 2024-04-25 03:43:10 +00:00
App.vue Move folder console to ui 2024-02-02 22:22:51 +08:00
main.ts Move folder console to ui 2024-02-02 22:22:51 +08:00