|
@@ -84,6 +84,9 @@ export default {
|
|
|
async onInit (entity, headers) {
|
|
async onInit (entity, headers) {
|
|
|
this.headers = headers ?? this.headers
|
|
this.headers = headers ?? this.headers
|
|
|
this.query = entity ? { ...entity } : {}
|
|
this.query = entity ? { ...entity } : {}
|
|
|
|
|
+ this.total = 0
|
|
|
|
|
+ this.items = []
|
|
|
|
|
+ this.pageInfo.current = 1
|
|
|
this.getList()
|
|
this.getList()
|
|
|
},
|
|
},
|
|
|
async getList () {
|
|
async getList () {
|