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()