mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-19 07:46:43 +08:00
Merge branch 'stat' of https://codeup.aliyun.com/6265f483e4166464dc2f9c14/boeu/portal into stat
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
<div style="border-bottom:1px solid #4444;padding-bottom:25px;" v-for="note in noteList"
|
||||
:key="note.id">
|
||||
<span class="mycote-time">{{note.sysCreateTime}}
|
||||
<span class="sm">{{note.openType == 1?'公开':'私密'}}</span>
|
||||
<span class="sm">{{note.openType == 9?'公开':'私密'}}</span>
|
||||
<span class="more">
|
||||
<el-dropdown>
|
||||
<span class="el-dropdown-link">
|
||||
@@ -227,6 +227,7 @@ export default {
|
||||
// }
|
||||
},
|
||||
saveNote() {
|
||||
let that = this;
|
||||
if (this.mynoteData.content == '') {
|
||||
this.$message({ type: 'info', message: '您还没有书写笔记!', offset: 50 });
|
||||
return;
|
||||
@@ -240,15 +241,15 @@ export default {
|
||||
this.inAnimation = true;
|
||||
this.isEdit = false;
|
||||
setTimeout(() => {
|
||||
this.getMyNote();
|
||||
this.mynoteData = {
|
||||
that.getMyNote();
|
||||
that.mynoteData = {
|
||||
type: 1, //我发布的是1 我导入的是2
|
||||
content: '',
|
||||
playTime: '',
|
||||
// courseId: '',// 课程id
|
||||
// contentId: '',//课程内容id
|
||||
// courseName: '',// 课程名称
|
||||
openType: 1,// 1表不公开 9表完全公开
|
||||
openType: 9,// 1表不公开 9表完全公开
|
||||
};
|
||||
}, 2000)
|
||||
}
|
||||
@@ -262,19 +263,19 @@ export default {
|
||||
if(this.mynoteData.openType != 9){
|
||||
return
|
||||
}
|
||||
setTimeout(() => {
|
||||
setTimeout(() => {
|
||||
localStorage.setItem("NOTE_TEXT", '');
|
||||
// clearInterval(this.autoSave);
|
||||
this.getMyNote();
|
||||
this.notetabType(2);
|
||||
this.mynoteData = {
|
||||
that.getMyNote();
|
||||
that.notetabType(2);
|
||||
that.mynoteData = {
|
||||
type: 1, //我发布的是1 我导入的是2
|
||||
content: '',
|
||||
playTime: '',
|
||||
// courseId: '',// 课程id
|
||||
// contentId: '',//课程内容id
|
||||
// courseName: '',// 课程名称
|
||||
openType: 1,// 1表不公开 9表完全公开
|
||||
openType: 9,// 1表不公开 9表完全公开
|
||||
};
|
||||
|
||||
}, 2000)
|
||||
|
||||
Reference in New Issue
Block a user