This commit is contained in:
2024-06-27 06:20:38 +00:00
parent db030b5869
commit a81aea740b
2 changed files with 5 additions and 4 deletions

View File

@@ -1,3 +0,0 @@
{
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"]
}

View File

@@ -3,6 +3,7 @@ import { useMessage, type DropdownOption } from "naive-ui"
import { code, loading, reset, run, share } from "../composables/code" import { code, loading, reset, run, share } from "../composables/code"
import { tab } from "../composables/tab" import { tab } from "../composables/tab"
import copyTextToClipboard from "copy-text-to-clipboard" import copyTextToClipboard from "copy-text-to-clipboard"
import { Icon } from "@iconify/vue"
const message = useMessage() const message = useMessage()
function switchAndRun() { function switchAndRun() {
@@ -29,7 +30,10 @@ const menu: DropdownOption[] = [
<template> <template>
<n-layout-header class="container" bordered> <n-layout-header class="container" bordered>
<n-flex justify="space-between" align="center"> <n-flex justify="space-between" align="center">
<n-flex align="center">
<Icon icon="streamline-emojis:cat" :width="30" :height="30"></Icon>
<div class="title">徐越的自测猫</div> <div class="title">徐越的自测猫</div>
</n-flex>
<n-flex align="center"> <n-flex align="center">
<n-dropdown :options="menu"> <n-dropdown :options="menu">
<n-button>操作</n-button> <n-button>操作</n-button>