forked from FoundKeyGang/FoundKey
fix lints in folder.vue
This commit is contained in:
parent
80844e2dd0
commit
b0fdedb264
1 changed files with 3 additions and 3 deletions
|
@ -26,10 +26,10 @@ const props = withDefaults(defineProps<{
|
|||
defaultOpen: false,
|
||||
});
|
||||
|
||||
let opened = $ref(props.defaultOpen);
|
||||
let openedAtLeastOnce = $ref(props.defaultOpen);
|
||||
let opened: boolean = $ref(props.defaultOpen);
|
||||
let openedAtLeastOnce: boolean = $ref(props.defaultOpen);
|
||||
|
||||
const toggle = () => {
|
||||
const toggle = (): void => {
|
||||
opened = !opened;
|
||||
if (opened) {
|
||||
openedAtLeastOnce = true;
|
||||
|
|
Loading…
Reference in a new issue