|
|
|
@ -427,7 +427,7 @@ setclub: function () {
|
|
|
|
|
var postData = { |
|
|
|
|
clubName: that.data.clubName, |
|
|
|
|
clubLogo:that.data.showList[0], |
|
|
|
|
clubCircle:that.data.circleId, |
|
|
|
|
clubCircle:'', |
|
|
|
|
clubIntroduction:that.data.clubIntroduction, |
|
|
|
|
clubPerson:that.data.clubPerson, |
|
|
|
|
clubPhone:that.data.clubPhone, |
|
|
|
@ -447,13 +447,15 @@ setclub: function () {
|
|
|
|
|
icon: 'none', |
|
|
|
|
duration: 1000 |
|
|
|
|
}) |
|
|
|
|
}else if(that.data.tagList.length==0){ |
|
|
|
|
wx.showToast({ |
|
|
|
|
title: '主打项目必填', |
|
|
|
|
icon: 'none', |
|
|
|
|
duration: 1000 |
|
|
|
|
}) |
|
|
|
|
}else { |
|
|
|
|
} |
|
|
|
|
// else if(that.data.tagList.length==0){
|
|
|
|
|
// wx.showToast({
|
|
|
|
|
// title: '主打项目必填',
|
|
|
|
|
// icon: 'none',
|
|
|
|
|
// duration: 1000
|
|
|
|
|
// })
|
|
|
|
|
// }
|
|
|
|
|
else { |
|
|
|
|
re.request(Api.creatClub(),postData, header).then((res) => { |
|
|
|
|
console.log(res) |
|
|
|
|
wx.showToast({ |
|
|
|
|