fix: 🐛 Expose animation setting in MkFolder
This commit is contained in:
parent
b4c0c4e5c6
commit
dbbc2e2675
@ -18,7 +18,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</header>
|
</header>
|
||||||
<transition
|
<transition
|
||||||
:name="defaultStore.state.animation ? 'folder-toggle' : ''"
|
:name="animation ? 'folder-toggle' : ''"
|
||||||
@enter="enter"
|
@enter="enter"
|
||||||
@after-enter="afterEnter"
|
@after-enter="afterEnter"
|
||||||
@leave="leave"
|
@leave="leave"
|
||||||
@ -62,6 +62,7 @@ export default defineComponent({
|
|||||||
localStoragePrefix + this.persistKey,
|
localStoragePrefix + this.persistKey,
|
||||||
) === "t"
|
) === "t"
|
||||||
: this.expanded,
|
: this.expanded,
|
||||||
|
animation: defaultStore.state.animation,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
Loading…
Reference in New Issue
Block a user