|
@@ -14,7 +14,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
|
-import { ref, onMounted } from "vue";
|
|
|
|
|
|
|
+import { ref, onMounted, onActivated } from "vue";
|
|
|
import { Tab, Tabs } from "vant";
|
|
import { Tab, Tabs } from "vant";
|
|
|
// import demandHall from "../farm_manage/components/demandHall.vue";
|
|
// import demandHall from "../farm_manage/components/demandHall.vue";
|
|
|
import interact from "./components/interact.vue";
|
|
import interact from "./components/interact.vue";
|
|
@@ -33,10 +33,13 @@ const getManagerList = async () => {
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
|
|
|
+ getManagerList();
|
|
|
|
|
+});
|
|
|
|
|
+
|
|
|
|
|
+onActivated(() => {
|
|
|
if(route.query.active){
|
|
if(route.query.active){
|
|
|
active.value = Number(route.query.active);
|
|
active.value = Number(route.query.active);
|
|
|
}
|
|
}
|
|
|
- getManagerList();
|
|
|
|
|
});
|
|
});
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|