fix bug#3962

This commit is contained in:
wwt 2025-03-18 09:45:42 +08:00
parent 92cda98ca9
commit 33106bfa80
2 changed files with 8 additions and 6 deletions

View File

@ -470,7 +470,7 @@ const { t } = useI18n()
const { const {
groupActiveIndex, groupActiveIndex,
getDepsTreeMy, getDepsTreeMy2,
depTreeMyList, depTreeMyList,
crumbs, crumbs,
crumbsIndex, crumbsIndex,
@ -917,7 +917,7 @@ const init = async () => {
depTreeMyList.value = [] depTreeMyList.value = []
crumbs.value = [] crumbs.value = []
await getDepsTreeMy() await getDepsTreeMy2()
if (depTreeMyList.value.length) { if (depTreeMyList.value.length) {
if (state.chooseMode === 1) { if (state.chooseMode === 1) {
// all // all

View File

@ -15,7 +15,7 @@
</div> </div>
<div class="mt-[54rpx] w-full h-[872rpx]"> <div class="mt-[54rpx] w-full h-[872rpx]">
<div <div
@click="groupActiveIndex = 0" @click="groupActiveIndex = 0;depCheckedKeys = []"
class="groupCard firstPanel" class="groupCard firstPanel"
:class="groupActiveIndex === 0 ? 'activePanel' : ''" :class="groupActiveIndex === 0 ? 'activePanel' : ''"
> >
@ -95,7 +95,7 @@
</div> </div>
</div> </div>
<div <div
@click="groupActiveIndex = 2" @click="groupActiveIndex = 2;depCheckedKeys = [];"
class="groupCard thirdPanel" class="groupCard thirdPanel"
:class="groupActiveIndex === 2 ? 'activePanel' : ''" :class="groupActiveIndex === 2 ? 'activePanel' : ''"
> >
@ -131,14 +131,16 @@
import ZPaging from '@/uni_modules/z-paging/components/z-paging/z-paging.vue' import ZPaging from '@/uni_modules/z-paging/components/z-paging/z-paging.vue'
import customBtn from '@/components/custom-btn/custom-btn.vue' import customBtn from '@/components/custom-btn/custom-btn.vue'
import { ref, watch, computed } from 'vue' import { ref, watch, computed } from 'vue'
import { onShow, onLoad } from '@dcloudio/uni-app' import { onShow, onLoad, onUnload } from '@dcloudio/uni-app'
import { useChatList } from '@/store/chatList/index.js' import { useChatList } from '@/store/chatList/index.js'
import { useAuth } from '@/store/auth' import { useAuth } from '@/store/auth'
import { useTalkStore, useUserStore } from '@/store' import { useTalkStore, useUserStore } from '@/store'
import { useGroupTypeStore } from '@/store/groupType' import { useGroupTypeStore } from '@/store/groupType'
const { groupActiveIndex, depCheckedKeys } = useGroupTypeStore() const { groupActiveIndex, depCheckedKeys } = useGroupTypeStore()
onUnload(()=> {
})
const confirmBtnStatus = computed(() => { const confirmBtnStatus = computed(() => {
let disabledT = false let disabledT = false
switch (groupActiveIndex.value) { switch (groupActiveIndex.value) {