调整loding动画细节

This commit is contained in:
X1627315083
2025-12-23 15:05:15 +08:00
parent e8a72ec0aa
commit 6b255728af
5 changed files with 57 additions and 30 deletions

View File

@@ -10,6 +10,7 @@
cancelTryOnEffectFavorite
} from '@/api/workshop'
import { useRouter } from 'vue-router'
import MyEvent from '@/utils/myEvent'
const router = useRouter()
const emit = defineEmits(['view-type'])
const query = computed(() => router.currentRoute.value.query)
@@ -236,6 +237,7 @@
hGenerateStore.style.url = selectedItem.url
// selectedItem.isFavorite
}
MyEvent.emit('clear-generate-state')
router.push({ name: 'HomeNav', query: { flowType: nav.flowType } })
} else {
router.push({ name: 'end' })