资源修改

This commit is contained in:
lyc 2024-07-18 09:29:15 +08:00
parent b14799d4ca
commit 2acaaa20df
1 changed files with 5 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<el-scrollbar height="400px"> <el-scrollbar height="400px">
<el-empty description="暂无数据" v-if="!sourceStore.result.list.length" /> <el-empty description="暂无数据" v-if="!sourceStore.result.list.length" />
<ul> <ul>
<li class="list-item" v-for="item in sourceStore.result.list" :key="item.id"> <li class="list-item" v-for="item in sourceStore.result.list" :key="item.id" @click="handleRow">
<div class="item-left flex"> <div class="item-left flex">
<FileImage :fileName="item.fileShowName" :size="50" /> <FileImage :fileName="item.fileShowName" :size="50" />
<div class="flex item-left-content"> <div class="flex item-left-content">
@ -144,6 +144,10 @@ const addLesson = ({ id }) => {
} }
} }
//
const handleRow = () =>{
ElMessage.warning('请先加入备课,在备课里面进行预览!')
}
</script> </script>