update 搜索结果为空添加提示

This commit is contained in:
SummerTail 2023-07-07 16:42:01 +08:00
parent 3edb0a645c
commit f22aa6d64a
2 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,7 @@ import {
</el-menu-item>
</el-menu-item-group>
</el-sub-menu>
<el-sub-menu index="2">
<el-sub-menu index="3">
<template #title>
<el-icon>
<Check/>

View File

@ -1,4 +1,5 @@
<template>
<el-empty v-if="list.length===0" description="没有搜索到内容"/>
<div>
<div class="list">
<div class="item" v-for="i in list">