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>
</el-menu-item-group> </el-menu-item-group>
</el-sub-menu> </el-sub-menu>
<el-sub-menu index="2"> <el-sub-menu index="3">
<template #title> <template #title>
<el-icon> <el-icon>
<Check/> <Check/>

View File

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