Commit 7466c2c1 authored by lvtz's avatar lvtz

fix

parent 0d90e22b
......@@ -284,7 +284,7 @@ Page({
} = e.currentTarget;
this.themeNoticeRead(theme);
if (theme.subject_type == 1) {
if (theme.is_join != 1) {
if (theme.is_join == 1) {
wx.navigateTo({
url: `/src/pages/themeindex/index?&tid=${theme.id}&sid=${this.data.sid}`
});
......@@ -294,13 +294,13 @@ Page({
});
}
} else if (theme.subject_type == 2) {
if (theme.is_join != 1) {
if (theme.is_join == 1) {
wx.navigateTo({
url: `/src/pages/calendarthemeindex/index?&tid=${theme.id}&sid=${this.data.sid}`
});
} else {
wx.navigateTo({
url: `/src/pages/calendarthemeinde/landpage?&tid=${theme.id}&sid=${this.data.sid}`
url: `/src/pages/calendarthemeindex/landpage?&tid=${theme.id}&sid=${this.data.sid}`
});
}
} else if (theme.subject_type == 3) {
......
......@@ -357,7 +357,8 @@ Page({
subject_source_id: this.data.tid,
subject_source_type: 3,
secret: this.data.secret || "",
content: this.data.waitSbumitContent
content: this.data.waitSbumitContent,
name: this.data.name || ''
})
)
.then(res => {
......@@ -433,7 +434,7 @@ Page({
radio: this.data.moreTheme.sign_up_content
});
// 信息信息项开启,没有密码则直接加入
if (this.data.themeSelect.join_rule_type == 3) {
if (this.data.moreTheme.join_rule_type == 3) {
this.setData({
showPsdDia: true
});
......
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