fix nuxt ui 参数传递错误
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<aside
|
||||
<div
|
||||
class="w-64 bg-white dark:bg-gray-900 flex flex-col h-screen border-r border-gray-200 dark:border-gray-700 overflow-hidden">
|
||||
<!-- Logo -->
|
||||
<div class="flex-shrink-0 p-4 border-gray-200 dark:border-gray-700">
|
||||
@@ -18,7 +18,7 @@
|
||||
<!-- Search Box -->
|
||||
<div class="p-4 border-gray-200 dark:border-gray-700">
|
||||
<ClientOnly>
|
||||
<UContentSearchButton :collapsed="false" loading="true" label="搜索文档" description="请输入关键词" class="w-full"
|
||||
<UContentSearchButton :collapsed="false" label="搜索文档" class="w-full"
|
||||
color="primary" />
|
||||
</ClientOnly>
|
||||
</div>
|
||||
@@ -50,8 +50,6 @@
|
||||
|
||||
<!-- 文档目录导航 -->
|
||||
<div class="mt-6 flex items-center justify-start pl-8 w-4/5">
|
||||
|
||||
<NuxtLink>
|
||||
<UContentNavigation highlight :navigation="navigation" color="primary" type="single" variant="pill" :ui="{
|
||||
root: '',
|
||||
content: '',
|
||||
@@ -69,12 +67,9 @@
|
||||
linkTitle: '',
|
||||
linkTitleExternalIcon: 'size- align-top text-dimmed'
|
||||
}" />
|
||||
</NuxtLink>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
Reference in New Issue
Block a user