fix
This commit is contained in:
@@ -11,12 +11,12 @@
|
|||||||
</n-tab-pane>
|
</n-tab-pane>
|
||||||
<n-tab-pane name="actions" tab="选项">
|
<n-tab-pane name="actions" tab="选项">
|
||||||
<n-flex vertical class="wrapper">
|
<n-flex vertical class="wrapper">
|
||||||
<!-- <n-flex align="center">
|
<n-flex align="center">
|
||||||
<span class="label">主题</span>
|
<span class="label">主题</span>
|
||||||
<n-button @click="toggleDark()">
|
<n-button @click="toggleDark()">
|
||||||
{{ isDark ? "浅色" : "深色" }}
|
{{ isDark ? "浅色" : "深色" }}
|
||||||
</n-button>
|
</n-button>
|
||||||
</n-flex> -->
|
</n-flex>
|
||||||
<n-flex align="center">
|
<n-flex align="center">
|
||||||
<span class="label">重置</span>
|
<span class="label">重置</span>
|
||||||
<n-button @click="reset('html')">HTML</n-button>
|
<n-button @click="reset('html')">HTML</n-button>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ export function reset(lang: "html" | "css" | "js") {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export const size = useStorage("web-fontsize", 14)
|
export const size = useStorage("web-fontsize", 24)
|
||||||
export function changeSize(num: number) {
|
export function changeSize(num: number) {
|
||||||
size.value = num
|
size.value = num
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user