mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-13 02:25:06 +08:00
优化el-dialog
1.设置默认点击背景不关闭dialog(这个很容易误操作,体验较差) 2.el-dialog内容较多时,滚动条限定在内部而不撑开父页面的滚动条 3.代码生成的el-dialog默认添加 v-dialogDrag属性(可拖拽移动)
This commit is contained in:
@ -70,6 +70,10 @@ console.log(request)
|
||||
Vue.prototype.$axios = request
|
||||
import '@/styles/index.scss'
|
||||
|
||||
// 默认点击背景不关闭弹窗
|
||||
import ElementUI from 'element-ui'
|
||||
ElementUI.Dialog.props.closeOnClickModal.default = false
|
||||
|
||||
/**
|
||||
* If you don't want to use mock-server
|
||||
* you want to use MockJs for mock api
|
||||
|
Reference in New Issue
Block a user