From 98f4b7ec4164ec1c6798c8c4188b93f4ce48ec46 Mon Sep 17 00:00:00 2001 From: xuxy <1059738716@qq.com> Date: 星期三, 10 七月 2024 23:39:57 +0800 Subject: [PATCH] update收获地址 --- mixin/mixin.js | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/mixin/mixin.js b/mixin/mixin.js index 7459a6f..5551356 100644 --- a/mixin/mixin.js +++ b/mixin/mixin.js @@ -13,7 +13,7 @@ return state.hasLogin || false }, selftype: state => { - return state.type || '' + return (state.currentInfo || {}).type || '' }, currentInfo: state => { return state.currentInfo || {} @@ -255,6 +255,10 @@ } return true }, + async refreshList(){ + this.page.current = 1 + await this.getList() + }, async getList() { if (this.listApi) { this.$message.showLoading() -- Gitblit v1.9.3