Commit 1106b6ca authored by KesaubeEire's avatar KesaubeEire

fix: 修复一个重要的初始化参数问题

parent 18296ed9
......@@ -187,7 +187,7 @@
<ul class="menu menu-horizontal items-center">
<!-- NOTE: (导航栏) 功能区遍历 -->
{#each injectText as Item}
{#if Item.id == 'search'}
{#if Item.id == 'search' && $_category.length && $_tagTrans.length}
<!-- NOTE: 输入搜索框 -->
<div class="h-9 flex items-center relative">
<svg
......@@ -318,7 +318,7 @@
<ul class="menu p-4 w-60 min-h-full bg-base-200">
<!-- NOTE: (侧边栏) 功能区遍历 -->
{#each injectText as Item}
{#if Item.id == 'search'}
{#if Item.id == 'search' && $_category.length && $_tagTrans.length}
<!-- NOTE: 输入搜索框 -->
<div class="h-9 flex items-center relative">
<svg
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment