This commit is contained in:
BianLzhaoMin 2025-05-23 08:23:55 +08:00
parent c9b7d35e72
commit be2d8f85e1
1 changed files with 8 additions and 6 deletions

View File

@ -164,8 +164,8 @@ const { safeAreaInsets } = uni.getSystemInfoSync()
const projectShow = ref(false)
const majorShow = ref(false)
const procedureShow = ref(false)
const projectList = reactive([])
const majorList = reactive([])
const projectList = ref([])
const majorList = ref([])
const procedureList = ref([])
const memberStore = useMemberStore() //
const commonStore = useCommonStore() //
@ -225,10 +225,12 @@ if (userPermissions.value.length > 0) {
const rightPopupShow = ref(false)
//
const onHandleSelect = async () => {
projectList = []
majorList = []
projectList.push(await getProjectList())
majorList.push(await getMajorList())
if (projectList.value.length === 0) {
projectList.value.push(await getProjectList())
}
if (majorList.value.length === 0) {
majorList.value.push(await getMajorList())
}
rightPopupShow.value = true
}