李富豪 9 mesi fa
parent
commit
dbac260d8b
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      src/pages/facility/index/index.vue

+ 2 - 1
src/pages/facility/index/index.vue

@@ -172,7 +172,8 @@ const onClickSearch = async () => {
 }
 
 // 更改标签页
-const onChangeTabs = async ({ index, value }: { index: number, value: string }) => {
+const onChangeTabs = async ({ name }: { name: string }) => {
+  state.tabValue = name;
   state.page = {
     ...state.page,
     pageNumber: 1,