This commit is contained in:
zhaofang
2022-11-04 11:05:55 +08:00
parent 4de66a290d
commit 5cf98ed2e1

View File

@@ -200,13 +200,13 @@ export default {
this.timer = null; this.timer = null;
this.$router.go(-1); this.$router.go(-1);
} }
} else { }
this.isShowTip = '当前网络异常,内容已离线保存,请尝试连接网络后重新自动上传!'; }).catch(()=>{
this.isShowTip = '当前网络异常,内容已离线保存,请尝试连接网络后重新自动上传!';
setTimeout(()=>{ setTimeout(()=>{
this.isShowTip = ''; this.isShowTip = '';
},10000 * 2) },10000 * 2)
sessionStorage.setItem('isShowTip',this.editdata.content); sessionStorage.setItem('isShowTip',this.editdata.content);
}
}) })
} }
}, },