两次弹窗

This commit is contained in:
lmj
2022-11-28 18:04:30 +08:00
parent c6808cc8bf
commit 7882b2b7b3

View File

@@ -153,9 +153,12 @@
}, },
saveArticle(){ saveArticle(){
let $this=this; let $this=this;
uni.showLoading({ if($this.article.title !== ''){
title:'正在保存...' uni.showLoading({
}) title:'正在保存...'
})
}
this.editorCtx.getContents({ this.editorCtx.getContents({
success(res){ success(res){
$this.article.content=res.html; $this.article.content=res.html;