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:
@@ -177,11 +177,11 @@ export default {
|
|||||||
},10000*2)
|
},10000*2)
|
||||||
} else {
|
} else {
|
||||||
this.notedetail()
|
this.notedetail()
|
||||||
this.$message({
|
this.$message({message: '笔记保存成功',type: 'success',center: true});
|
||||||
message: '笔记保存成功',
|
// 跳转到笔记列表
|
||||||
type: 'success',
|
clearInterval(this.timer);
|
||||||
center: true
|
this.timer = null;
|
||||||
});
|
this.$router.go(-1);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.isShowTip = '当前网络异常,内容已离线保存,请尝试连接网络后重新自动上传!';
|
this.isShowTip = '当前网络异常,内容已离线保存,请尝试连接网络后重新自动上传!';
|
||||||
|
|||||||
Reference in New Issue
Block a user