update 优化 弹窗点击遮罩层 默认不关闭 可在 main.js 修改

feature/model
疯狂的狮子Li 3 years ago
parent 99dfd42372
commit e4267c5c56

@ -73,6 +73,9 @@ DictData.install()
* please remove it before going online! ! ! * please remove it before going online! ! !
*/ */
// 修改 el-dialog 默认点击遮照为不关闭
Element.Dialog.props.closeOnClickModal.default = false
Vue.use(Element, { Vue.use(Element, {
size: Cookies.get('size') || 'medium' // set element-ui default size size: Cookies.get('size') || 'medium' // set element-ui default size
}) })

Loading…
Cancel
Save