mirror of
				https://gitee.com/lab1024/smart-admin.git
				synced 2025-11-04 18:33:43 +08:00 
			
		
		
		
	修改代码生成 form.vue.vm 模板,drawer 类型的取消事件为 @close,modal 类型的取消事件为 @cancel
This commit is contained in:
		@@ -10,7 +10,11 @@
 | 
			
		||||
      :title="form.$!{primaryKeyFieldName} ? '编辑' : '添加'"
 | 
			
		||||
      width="$!{insertAndUpdate.width}"
 | 
			
		||||
      :open="visibleFlag"
 | 
			
		||||
      #if($!{insertAndUpdate.pageType} == 'drawer')
 | 
			
		||||
      @close="onClose"
 | 
			
		||||
      #else
 | 
			
		||||
      @cancel="onClose"
 | 
			
		||||
      #end
 | 
			
		||||
      :maskClosable="false"
 | 
			
		||||
      :destroyOnClose="true"
 | 
			
		||||
    >
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user