运营平台bug

This commit is contained in:
liuye
2022-05-10 11:02:57 +08:00
parent e8c8c1cba6
commit b4446a24a6
2 changed files with 5 additions and 3 deletions

View File

@@ -1,6 +1,8 @@
<template> <template>
<section class="AppCompany"> <section class="AppCompany">
<component :is="currentComponent" :instance="instance" :dict="dict" :permissions="permissions"/> <keep-alive>
<component :is="currentComponent" :instance="instance" :dict="dict" :permissions="permissions"/>
</keep-alive>
</section> </section>
</template> </template>

View File

@@ -161,6 +161,8 @@ export default {
resetSearch() { resetSearch() {
this.name = '' this.name = ''
this.page.current = 1 this.page.current = 1
this.gropList = []
this.page.total = 0
this.getTableData() this.getTableData()
}, },
@@ -174,8 +176,6 @@ export default {
}, },
getTableData() { getTableData() {
this.gropList = []
this.page.total = 0
this.instance.post(`/appCorp/page?areaId=${this.areaId}&current=${this.page.current}&size=${this.page.size}&name=${this.name}`,).then(res => { this.instance.post(`/appCorp/page?areaId=${this.areaId}&current=${this.page.current}&size=${this.page.size}&name=${this.name}`,).then(res => {
if (res.code === 0) { if (res.code === 0) {
if(res.data) { if(res.data) {