Commit 85a74bdb authored by 郭铭瑶's avatar 郭铭瑶 🤘

09.27标签筛选名后跟统计数字

parent 1af05b5a
......@@ -172,7 +172,7 @@
<script lang="ts" setup>
import store from '@/store'
import { computed, onMounted, ref, watch } from 'vue'
import { computed, ref, watch } from 'vue'
import {
useFetchOrg,
useFetchMember,
......@@ -306,13 +306,18 @@ const getCommunities = async (name?: string) => {
.filter((item: string) => !!item)
}
onMounted(() => {
watch(
() => store.state.auth.code,
(code) => {
if (!code) return
getOrgTags()
getMemberTags()
getAreas()
getCommittees()
getCommunities()
})
},
{ immediate: true },
)
const getDetail = async (type: string, name: string) => {
let res = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment