This commit is contained in:
2024-06-24 17:39:35 +08:00
20 changed files with 3313 additions and 287 deletions

View File

@@ -906,6 +906,7 @@ export default {
this.htmlContent = data.html;
console.log(data, this.htmlContent, "this.htmlContent--++++");
<<<<<<< HEAD
if (
(this.htmlContent == "" || this.htmlContent == "<p><br></p>") &&
this.uploadPicLIst.length == 0
@@ -916,6 +917,19 @@ export default {
});
return;
}
=======
if ((this.htmlContent == '' || this.htmlContent == '<p><br></p>') && this.uploadPicLIst.length == 0) {
uni.showToast({
icon: 'none',
title: '您未输入内容哦'
})
return
}
let images = ''
if (this.uploadPicLIst.length > 0) {
let list = this.uploadPicLIst.map(item => item.url)
>>>>>>> b988ec5ba4c35d1a3e1bed5bd9907a93aaeeb559
let images = "";
if (this.uploadPicLIst.length > 0) {