[代码完善](v2.5): v2.5 代码生成器查询列优化

https://github.com/elunez/eladmin/issues/366
This commit is contained in:
ZhengJie
2020-05-23 16:55:57 +08:00
parent 0791a74f90
commit c7e2a881de
3 changed files with 13 additions and 1 deletions

View File

@@ -386,6 +386,8 @@ function CRUD(options) {
Object.keys(query).forEach(key => {
query[key] = defaultQuery[key]
})
// 重置参数
this.params = {}
if (toQuery) {
crud.toQuery()
}