Merge branch 'dev' into vite

This commit is contained in:
aixianling
2022-05-10 11:15:51 +08:00
2 changed files with 5 additions and 3 deletions

View File

@@ -1,6 +1,8 @@
<template>
<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>
</template>

View File

@@ -161,6 +161,8 @@ export default {
resetSearch() {
this.name = ''
this.page.current = 1
this.gropList = []
this.page.total = 0
this.getTableData()
},
@@ -174,8 +176,6 @@ export default {
},
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 => {
if (res.code === 0) {
if(res.data) {