fix some bugs

This commit is contained in:
2022-10-09 10:36:18 +08:00
parent d0f113513c
commit 5a08d8c1dd
53 changed files with 367 additions and 95 deletions

View File

@@ -147,13 +147,6 @@ export default {
components: { AttrForm },
props: {
configs: {
/**
* TODO: 定义及使用方式应改用README.md文件记录
* type: 'dialog' | 'drawer' | 'page'
* fields: Array<string|object>
* - fields.object: { name, type: 'number'|'textarea'|'select'|'date'|.., required: boolean, validator: boolean(是否需要验证), [options]: any[], api: string(自动获取数据的接口一般为getcode接口)}
* operations: Array[object], 操作名和对应的接口地址还有permission(如sys:dict:update)
*/
type: Object,
default: () => ({}) // 此处省去类型检查,使用者自行注意就好
}
@@ -533,7 +526,7 @@ export default {
}
break
case 'cancel':
this.visible = false
this.handleClose()
// add more..
}
},