update vue to 3.3.

This commit is contained in:
2023-05-16 19:14:43 +08:00
parent 271d662554
commit c27f5c43c7
7 changed files with 169 additions and 256 deletions

View File

@@ -111,13 +111,13 @@ function goHome() {
</n-space>
<n-space align="center">
<n-dropdown
v-if="$route.name === 'learn' && isMobile"
v-if="route.name === 'learn' && isMobile"
trigger="click"
:options="learnStore.menu"
>
<n-button>目录</n-button>
</n-dropdown>
<div v-if="$route.name === 'learn'">
<div v-if="route.name === 'learn'">
<n-button v-if="isDesktop" type="primary" @click="run">
运行代码
</n-button>