重构 UI 的 Modal 组件,使其支持渲染后打开 #5077
Labels
area/console
Issues or PRs related to the Halo Console
kind/improvement
Categorizes issue or PR as related to a improvement.
Milestone
你当前使用的版本
2.11.2
描述一下此特性
目前 Modal 组件是通过 v-model:visible 来控制是否显示,无法在组件初始化之后直接打开,意味着无法通过 v-if 来控制显示,这可能会造成开发中的很多不必要代码,因为需要手动控制 Modal 组件内的数据状态,尤其是对 Modal 组件二次封装之后。并且很多时候并不需要提前初始化 Modal 组件。
/kind improvement
/area console
/milestone 2.12.x
附加信息
No response
The text was updated successfully, but these errors were encountered: