mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 12:26:44 +08:00
提交
This commit is contained in:
@@ -227,6 +227,7 @@ export default {
|
|||||||
// }
|
// }
|
||||||
},
|
},
|
||||||
saveNote() {
|
saveNote() {
|
||||||
|
let that = this;
|
||||||
if (this.mynoteData.content == '') {
|
if (this.mynoteData.content == '') {
|
||||||
this.$message({ type: 'info', message: '您还没有书写笔记!', offset: 50 });
|
this.$message({ type: 'info', message: '您还没有书写笔记!', offset: 50 });
|
||||||
return;
|
return;
|
||||||
@@ -240,8 +241,8 @@ export default {
|
|||||||
this.inAnimation = true;
|
this.inAnimation = true;
|
||||||
this.isEdit = false;
|
this.isEdit = false;
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.getMyNote();
|
that.getMyNote();
|
||||||
this.mynoteData = {
|
that.mynoteData = {
|
||||||
type: 1, //我发布的是1 我导入的是2
|
type: 1, //我发布的是1 我导入的是2
|
||||||
content: '',
|
content: '',
|
||||||
playTime: '',
|
playTime: '',
|
||||||
@@ -262,12 +263,12 @@ export default {
|
|||||||
if(this.mynoteData.openType != 9){
|
if(this.mynoteData.openType != 9){
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
localStorage.setItem("NOTE_TEXT", '');
|
localStorage.setItem("NOTE_TEXT", '');
|
||||||
// clearInterval(this.autoSave);
|
// clearInterval(this.autoSave);
|
||||||
this.getMyNote();
|
that.getMyNote();
|
||||||
this.notetabType(2);
|
that.notetabType(2);
|
||||||
this.mynoteData = {
|
that.mynoteData = {
|
||||||
type: 1, //我发布的是1 我导入的是2
|
type: 1, //我发布的是1 我导入的是2
|
||||||
content: '',
|
content: '',
|
||||||
playTime: '',
|
playTime: '',
|
||||||
|
|||||||
Reference in New Issue
Block a user