Go to file
Ryan Wang 99b2966ac1 fix: the issue that the menu is not updated after the menu item is deleted (halo-dev/console#725)
#### What type of PR is this?

/kind bug
/milestone 2.0.0-rc.2

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

修复当菜单项被删除时,没有更新菜单的问题。

#### Which issue(s) this PR fixes:

Fixes https://github.com/halo-dev/halo/issues/2561

#### Special notes for your reviewer:

测试方式:

1. 创建一个菜单,添加若干个菜单项。
2. 删除部分菜单项,检查菜单下的菜单项个数是否正确。

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

```release-note
修复 Console 端当菜单项被删除时,没有更新菜单的问题。
```
2022-11-28 11:26:17 +00:00
.changeset
.github
.husky
.vscode
cypress
docs
packages
public
src fix: the issue that the menu is not updated after the menu item is deleted (halo-dev/console#725) 2022-11-28 11:26:17 +00:00
.dockerignore
.editorconfig
.env.development
.env.production
.eslintrc.cjs
.gitignore
.gitpod.yml
.npmignore
.npmrc
Dockerfile
LICENSE
Makefile
OWNERS
README.md
cypress.json
env.d.ts
index.html
package.json
pnpm-lock.yaml
pnpm-workspace.yaml
postcss.config.js
prettier.config.js
tailwind.config.js
tsconfig.app.json
tsconfig.json
tsconfig.vite-config.json
tsconfig.vitest.json
vite.config.ts
vitest.config.ts

README.md

README

Halo logo

Halo 2.0 的管理端项目(原 halo-admin

GitHub release GitHub GitHub last commit GitHub Workflow Status Gitpod ready-to-code


注意

当前分支为 Halo 2.0 的 Console 端开发分支,目前 Halo 2.0 处于 Alpha 测试阶段,不建议从 1.5 直接升级也不建议在生产环境使用。Console 端稳定版本Halo 1.5)请查阅以下地址:

当前仓库已经将 halo-admin 改为了 console。但对于 Halo 1.x 版本,依旧保持 halo-admin 的概念。

开发环境运行

# pnpm@7.0.0+
npm install -g pnpm
pnpm install 
pnpm build:packages
pnpm dev

生产构建

pnpm build

状态

Repobeats analytics