This commit is contained in:
syuilo 2025-03-29 17:59:09 +09:00
parent 2ad7b010e4
commit 25db8c2fa9
1 changed files with 3 additions and 1 deletions

View File

@ -44,7 +44,9 @@ provide(DI.routerCurrentDepth, currentDepth + 1);
const rootEl = useTemplateRef('rootEl');
onMounted(() => {
rootEl.value.style.viewTransitionName = viewId; // view-transition-namecss var使
if (prefer.s.animation) {
rootEl.value.style.viewTransitionName = viewId; // view-transition-namecss var使
}
});
// view-transition-new<pt-name-selector>css var使v-bind