develoop
于鹏飞 5 months ago
parent 3812ab0328
commit 5a1e2b52d3
  1. 21
      src/views/MyCourseStudy/ContainerKno.vue

@ -26,18 +26,6 @@
</div>
</div>
</div>
<div class="Knowledge_point">
<ul>
<li v-for="(item, index) in 6" :key="index">
知识点知识点知识点{{ item }}
<span class="btn">×</span>
&nbsp;
</li>
</ul>
</div>
</div>
</div>
</div>
</el-tab-pane>
</template>
<script setup>
@ -51,13 +39,18 @@ this.classList.toggle('noUpd')
}
const arr = reactive([])
const a =[
{
id:1,
name:"操作系统",
num:1,
zjname:'操作系统引论',
zsd:[
"sadas",
"asdadsad",
"asdasdas",
]
},
{
id:2,
@ -78,12 +71,14 @@ const a =[
arr.length=0
arr.push(...a)
const ShowDel = ref(false)
function XsDel(id){
const item = arr.find(o=>o.a.id==id)
item.ShowDel = !item.ShowDel
}
</script>
<style lang="scss" scoped>
.btn{

Loading…
Cancel
Save