资源模块修改 #32

Merged
lyc merged 7 commits from lyc-dev into main 2024-07-18 09:32:37 +08:00
1 changed files with 5 additions and 1 deletions
Showing only changes of commit 2acaaa20df - Show all commits

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>