Go to file
Ryan Wang 9fc27a01e6 fix: issue of uploading attachments to ungrouped group (halo-dev/console#716)
#### What type of PR is this?

/kind bug
/milestone 2.0-rc.2

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

修复选择未分组的分组时,上传附件会将分组设置为 `ungrouped` 的问题。

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

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

#### Special notes for your reviewer:

测试方式:

1. 新建若干附件分组。
2. 切换到未分组,然后打开上传弹框,上传若干附件。
3. 检查所上传附件是否归为未分组。
4. 切换到其他分组,上传若干附件,检查所上传附件是否归为正确分组。

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

```release-note
修复在 Console 端选择未分组的分组时,上传附件会将分组设置为 `ungrouped` 的问题。
```
2022-11-28 14:00:18 +00:00
.changeset refactor: rename admin to console (halo-dev/console#634) 2022-10-09 06:56:33 +00:00
.github chore: add pull request template and remove auto assign config file (halo-dev/console#635) 2022-10-09 06:58:29 +00:00
.husky chore: remove the step to run unit tests and typecheck before git commit (halo-dev/console#658) 2022-10-24 03:22:10 +00:00
.vscode
cypress
docs feat: add formkit custom input of repeater (halo-dev/console#692) 2022-11-15 07:48:17 +00:00
packages chore: release 2.0.0-rc.1 (halo-dev/console#710) 2022-11-24 15:17:06 +00:00
public feat: change favicon to halo logo 2022-09-27 17:30:14 +08:00
src fix: issue of uploading attachments to ungrouped group (halo-dev/console#716) 2022-11-28 14:00:18 +00:00
.dockerignore
.editorconfig
.env.development refactor: set the root path of the development environment to /console (halo-dev/console#638) 2022-10-11 15:32:14 +00:00
.env.production
.eslintrc.cjs
.gitignore
.gitpod.yml
.npmignore
.npmrc
Dockerfile
LICENSE
Makefile Add Makefile for convenient operations (halo-dev/console#641) 2022-10-13 10:00:16 +00:00
OWNERS chore: add @Aanko to reviewer list (halo-dev/console#714) 2022-11-26 02:56:10 +00:00
README.md docs: update repobeats analytics images source for readme file (halo-dev/console#659) 2022-10-24 08:04:11 +00:00
cypress.json
env.d.ts refactor: router and menu generation (halo-dev/console#651) 2022-10-19 08:54:13 +00:00
index.html refactor: rename admin to console (halo-dev/console#634) 2022-10-09 06:56:33 +00:00
package.json feat: set the approvedTime field during approve (halo-dev/console#713) 2022-11-28 13:28:18 +00:00
pnpm-lock.yaml feat: set the approvedTime field during approve (halo-dev/console#713) 2022-11-28 13:28:18 +00:00
pnpm-workspace.yaml
postcss.config.js
prettier.config.js
tailwind.config.js
tsconfig.app.json
tsconfig.json
tsconfig.vite-config.json refactor: external static libraries 2022-09-26 13:16:40 +08:00
tsconfig.vitest.json
vite.config.ts refactor: load the logo as an inline svg (halo-dev/console#664) 2022-10-26 03:10:14 +00:00
vitest.config.ts refactor: load the logo as an inline svg (halo-dev/console#664) 2022-10-26 03:10:14 +00:00

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