fix hydration text missing
This commit is contained in:
@@ -292,9 +292,21 @@ const drawer = useDrawer()
|
|||||||
<v-list-item
|
<v-list-item
|
||||||
v-bind="props"
|
v-bind="props"
|
||||||
rounded="xl"
|
rounded="xl"
|
||||||
:prepend-icon="$colorMode.value === 'light' ? 'light_mode' : 'dark_mode'"
|
|
||||||
:title="$t('themeMode')"
|
:title="$t('themeMode')"
|
||||||
></v-list-item>
|
>
|
||||||
|
<template
|
||||||
|
v-slot:prepend
|
||||||
|
>
|
||||||
|
<v-icon
|
||||||
|
v-show="$colorMode.value === 'light'"
|
||||||
|
icon="light_mode"
|
||||||
|
></v-icon>
|
||||||
|
<v-icon
|
||||||
|
v-show="$colorMode.value !== 'light'"
|
||||||
|
icon="dark_mode"
|
||||||
|
></v-icon>
|
||||||
|
</template>
|
||||||
|
</v-list-item>
|
||||||
</template>
|
</template>
|
||||||
<v-list
|
<v-list
|
||||||
bg-color="white"
|
bg-color="white"
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import {getRequestURL} from "h3";
|
|
||||||
|
|
||||||
const PayloadMethods = new Set(["PATCH", "POST", "PUT", "DELETE"]);
|
const PayloadMethods = new Set(["PATCH", "POST", "PUT", "DELETE"]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user