bugfix: 高级工具菜单选中状态

This commit is contained in:
zhangyh
2025-11-17 13:42:57 +08:00
parent f18ba483ce
commit 3c1a2a953f
2 changed files with 10 additions and 6 deletions

View File

@@ -523,7 +523,7 @@ export default defineComponent({
bathGenerationList: ['poseTransfer', 'SERIES_DESIGN', 'toProduct', 'relight'],
showHistory: false,
isNewProject: false,
cachedRoutes:computed(()=>store.state.Workspace.cachedRoutes),//
cachedRoutes: computed(() => store.state.Workspace.cachedRoutes) //
})
let userDetail = computed(() => {
return store.state.UserHabit.userDetail
@@ -578,7 +578,7 @@ export default defineComponent({
nextTick(async () => {
const key = Object.keys(query)?.[0]
if (key) {
if (query.id) {
if (query.id && !query.tools) {
homeMainData.openType = 'history'
homeMainData.openTypeChild = query.id
} else {
@@ -1030,7 +1030,7 @@ export default defineComponent({
if (currentProjectActive.value) return
if (currentProjectPath.value) {
router.push(currentProjectPath.value)
// router.back()
// router.back()
}
}