el-dialog 不要关闭按钮
时间: 2023-07-31 17:12:17 浏览: 256
要移除el-dialog的关闭按钮,可以使用show-close属性并将其设置为false。例如,可以像这样设置el-dialog组件的show-close属性:<el-dialog :show-close="false">...</el-dialog>。这样就可以移除el-dialog的关闭按钮了。\[2\]
#### 引用[.reference_title]
- *1* [el-dialog点击空白不允许关闭,只能点击关闭和取消按钮才消失](https://blog.csdn.net/weixin_69811594/article/details/129624829)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v4^insert_chatgpt"}} ] [.reference_item]
- *2* [去除el-dialog右上角的关闭图标](https://blog.csdn.net/weixin_48618258/article/details/127119011)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v4^insert_chatgpt"}} ] [.reference_item]
- *3* [点击关闭Element-UI中dialog右上角的关闭图标按钮](https://blog.csdn.net/qq_45094682/article/details/121159957)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v4^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文