chore: remove flatPreferences

This commit is contained in:
vben
2024-06-09 12:53:38 +08:00
parent a344d32169
commit 68229a4d2f
20 changed files with 462 additions and 224 deletions

View File

@@ -13,7 +13,7 @@ defineOptions({
});
const modelValue = defineModel<string>({ default: 'auto' });
const semiDarkMenu = defineModel<boolean>('semiDarkMenu', {
const appSemiDarkMenu = defineModel<boolean>('appSemiDarkMenu', {
default: true,
});
@@ -71,7 +71,7 @@ function nameView(name: string) {
</template>
<SwitchItem
v-model="semiDarkMenu"
v-model="appSemiDarkMenu"
:disabled="modelValue !== 'light'"
class="mt-6"
>