Skip to content

Commit 5b4916a

Browse files
YunaiVgitee-org
authored andcommitted
!253 fix:导入sql文件报错的问题、优化el-dialog
Merge pull request !253 from 颗粒/master
2 parents ecea771 + 18f84c7 commit 5b4916a

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

src/assets/styles/ruoyi.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,16 @@
7171
padding: 10px 20px 0;
7272
}
7373

74+
.el-dialog{
75+
display: flex;
76+
flex-direction: column;
77+
max-width: calc(100% - 30px);
78+
max-height: calc(100% - 70px);
79+
.el-dialog__body {
80+
overflow: auto;
81+
}
82+
}
83+
7484
.el-table {
7585
.el-table__header-wrapper, .el-table__fixed-header-wrapper {
7686
th {

src/main.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ console.log(request)
7070
Vue.prototype.$axios = request
7171
import '@/styles/index.scss'
7272

73+
// 默认点击背景不关闭弹窗
74+
import ElementUI from 'element-ui'
75+
ElementUI.Dialog.props.closeOnClickModal.default = false
76+
7377
/**
7478
* If you don't want to use mock-server
7579
* you want to use MockJs for mock api

0 commit comments

Comments
 (0)