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

2.X
疯狂的狮子li 3 years ago
parent 3ecf75a1fb
commit 4e7ea02f9a

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

Loading…
Cancel
Save