mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-18 15:26:45 +08:00
修改
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="my-note">
|
||||
<div class="my-note" @change="handleClick">
|
||||
<div class="mynote">
|
||||
<div class="mynote-tab">
|
||||
<div @click="notetabType(1)" :class="notetab == 1 ? 'noteactive' : ' ' "> <span>新增笔记</span> </div>
|
||||
@@ -150,6 +150,12 @@ export default {
|
||||
|
||||
},
|
||||
watch: {
|
||||
selected:{
|
||||
handler(val,old){
|
||||
this.$emit('change',this.selected)
|
||||
},
|
||||
deep:true
|
||||
},
|
||||
data(val){
|
||||
if(val.id) {
|
||||
console.log(val,'val');
|
||||
@@ -163,6 +169,9 @@ export default {
|
||||
// }
|
||||
},
|
||||
methods: {
|
||||
handleClick(){
|
||||
this.$emit('change',this.selected)
|
||||
},
|
||||
onPlayVideo(conId,time) {
|
||||
//这里应该加上内容的id
|
||||
this.$emit('onPlayVideo',conId,time);
|
||||
|
||||
Reference in New Issue
Block a user