|
@@ -271,6 +271,14 @@
|
|
|
that.$set(that.tabs, `active`, e.active)
|
|
|
that.$set(that, `status`, e.active);
|
|
|
that.search()
|
|
|
+ },
|
|
|
+ // 清空列表
|
|
|
+ clearPage() {
|
|
|
+ const that = this;
|
|
|
+ that.$set(that, `list`, [])
|
|
|
+ that.$set(that, `skip`, 0)
|
|
|
+ that.$set(that, `limit`, 5)
|
|
|
+ that.$set(that, `page`, 0)
|
|
|
}
|
|
|
}
|
|
|
}
|