|
@ -128,7 +128,7 @@ export default { |
|
|
// 获取数据前设置默认参数 |
|
|
// 获取数据前设置默认参数 |
|
|
[CRUD.HOOK.beforeRefresh]() { |
|
|
[CRUD.HOOK.beforeRefresh]() { |
|
|
this.crud.query.documentId = this.selectedCategory.id |
|
|
this.crud.query.documentId = this.selectedCategory.id |
|
|
// this.crud.query.isType = 2 |
|
|
|
|
|
|
|
|
this.crud.query.isType = 2 |
|
|
}, |
|
|
}, |
|
|
[CRUD.HOOK.afterRefresh](crud) { |
|
|
[CRUD.HOOK.afterRefresh](crud) { |
|
|
crud.data.forEach(function(item, index) { |
|
|
crud.data.forEach(function(item, index) { |
|
|