halo-admin/packages/components
Ryan Wang c8dbd2422c
feat: add layer-closeable prop for modal (#861)
#### What type of PR is this?

/kind feature

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

VModal 组件支持设置是否允许点击蒙层以关闭模态框,并将所有包含表单的模态框设置为不允许点击蒙层关闭。

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

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

#### Screenshots:

![2023-02-17 12 08 56](https://user-images.githubusercontent.com/21301288/219547318-d7c59742-8546-4bc8-9d49-fcff4053602f.gif)


#### Special notes for your reviewer:

测试方式:

1. 打开 Console 端任意一个表单模态框,测试点击表单外部区域是否会关闭弹框。

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


```release-note
优化 Console 端部分包含表单的模态框,默认不允许点击外部区域关闭模态框。
```
2023-02-17 06:52:13 +00:00
..
src feat: add layer-closeable prop for modal (#861) 2023-02-17 06:52:13 +00:00
.eslintrc.cjs chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
env.d.ts chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
histoire.config.ts chore: bump histoire version 2022-08-14 11:59:35 +08:00
package.json chore: release 2.2.0 (#835) 2023-02-01 02:52:10 +00:00
postcss.config.js chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
prettier.config.js chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
tailwind.config.js refactor: admin ui theme system 2022-07-14 11:38:13 +08:00
tsconfig.app.json feat: refine the configuration of unplugin-icons 2022-07-03 16:50:25 +08:00
tsconfig.json chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
tsconfig.vite-config.json chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
tsconfig.vitest.json chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
vite.config.ts perf: refine user detail page 2022-09-27 16:47:13 +08:00