mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-09-17 10:56:39 +08:00
修改代码生成 form.vue.vm 模板,drawer 类型的取消事件为 @close,modal 类型的取消事件为 @cancel
This commit is contained in:
parent
e75c1ec34d
commit
9a991b2e27
@ -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"
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user