mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 04:08:43 +08:00 
			
		
		
		
	优化el-dialog
1.设置默认点击背景不关闭dialog(这个很容易误操作,体验较差) 2.el-dialog内容较多时,滚动条限定在内部而不撑开父页面的滚动条 3.代码生成的el-dialog默认添加 v-dialogDrag属性(可拖拽移动)
This commit is contained in:
		@@ -71,6 +71,16 @@
 | 
			
		||||
  padding: 10px 20px 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.el-dialog{
 | 
			
		||||
  display: flex;
 | 
			
		||||
  flex-direction: column;
 | 
			
		||||
  max-width: calc(100% - 30px);
 | 
			
		||||
  max-height: calc(100% - 70px);
 | 
			
		||||
  .el-dialog__body {
 | 
			
		||||
    overflow: auto;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.el-table {
 | 
			
		||||
  .el-table__header-wrapper, .el-table__fixed-header-wrapper {
 | 
			
		||||
    th {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user