Commit 061de6fa by 赵雅纹

种草删除

parent de89f446
......@@ -261,6 +261,13 @@ wxService.page({
})
return;
}
if (this.data.params.sspList && !this.data.params.sspList[0].url) {
wx.showToast({
title: '请上传至少一张图片',
icon: 'none'
})
return;
}
if (!e.detail.value.headline){
wx.showToast({
title: '请添加标题',
......@@ -274,7 +281,7 @@ wxService.page({
'params.article': e.detail.value.article
})
this.data.params.sspList.forEach((item,index) => {
if(index == 0){
if (index == 0){
item.cover = 1;
}
});
......
{
"navigationBarTitleText": "种草详情",
"usingComponents": {
"x-dialog": "/component/dialog/dialog",
"x-dialog": "/component/dialogGrass/dialog",
"card-modal": "/component/cardModal/cardModal",
"go-home": "/component/goHome/goHome",
"x-html": "/component/html2wxml/wxHtml",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment