mirror of https://github.com/halo-dev/halo-admin
c8dbd2422c
#### 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 端部分包含表单的模态框,默认不允许点击外部区域关闭模态框。 ``` |
||
---|---|---|
.. | ||
src | ||
.eslintrc.cjs | ||
env.d.ts | ||
histoire.config.ts | ||
package.json | ||
postcss.config.js | ||
prettier.config.js | ||
tailwind.config.js | ||
tsconfig.app.json | ||
tsconfig.json | ||
tsconfig.vite-config.json | ||
tsconfig.vitest.json | ||
vite.config.ts |