fix #I3UEW5 修复BUG(dvadmin): 新增弹出框设置参数,在点击弹窗外不关闭弹窗,使用方法:<model-display :listApi="listApi" :fields="fields" :funcs="funcs" :close_on_click_modal="false"></model-display>
							parent
							
								
									7c7a26cf61
								
							
						
					
					
						commit
						14a29bd928
					
				|  | @ -262,7 +262,11 @@ | |||
|     </el-row> | ||||
| 
 | ||||
|     <!-- 添加或修改参数配置对话框 --> | ||||
|     <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body @close="close"> | ||||
|     <el-dialog :title="title" | ||||
|                :visible.sync="open" | ||||
|                width="500px" | ||||
|                append-to-body @close="close" | ||||
|                :close-on-click-modal="close_on_click_modal"> | ||||
|       <el-form ref="ruleForm" :model="form" :rules="rules" label-width="100px"> | ||||
|         <el-form-item v-if="value.form" :label="value.label" :prop="value.prop" v-for="(value,index) in fields" | ||||
|                       :key="index"> | ||||
|  | @ -409,6 +413,11 @@ | |||
|         type: Boolean, | ||||
|         default: true | ||||
|       }, | ||||
|       // 是否可以通过点击 窗口外 关闭 Dialog | ||||
|       close_on_click_modal: { | ||||
|         type: Boolean, | ||||
|         default: true | ||||
|       }, | ||||
|       fit: { | ||||
|         type: Boolean, | ||||
|         default: true | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 李强
						李强