|
@@ -304,8 +304,7 @@ export default {
|
|
const s_v = Object.values(s)
|
|
const s_v = Object.values(s)
|
|
t_len = tmplIds.filter(id => s_k.indexOf(id) !== -1).length
|
|
t_len = tmplIds.filter(id => s_k.indexOf(id) !== -1).length
|
|
}
|
|
}
|
|
-
|
|
|
|
- if(!s && t_len) {
|
|
|
|
|
|
+ if(!s || t_len !== t_alen) {
|
|
uni.requestSubscribeMessage({
|
|
uni.requestSubscribeMessage({
|
|
tmplIds,
|
|
tmplIds,
|
|
success(res) {
|
|
success(res) {
|
|
@@ -476,8 +475,8 @@ export default {
|
|
id_code: this.signedInfo.id_code,
|
|
id_code: this.signedInfo.id_code,
|
|
detail: this.signedInfo.detail,
|
|
detail: this.signedInfo.detail,
|
|
sex: this.signedInfo.sex,
|
|
sex: this.signedInfo.sex,
|
|
- join_one_num: !this.userInfo.type ? this.join_num : '',
|
|
|
|
- join_two_num: this.userInfo.type ? this.join_num : ''
|
|
|
|
|
|
+ join_one_num: Number(this.userInfo.season_type) ? this.join_num : '',
|
|
|
|
+ join_two_num: Number(this.userInfo.season_type) ? this.join_num : ''
|
|
}
|
|
}
|
|
}).then(res => {
|
|
}).then(res => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
@@ -503,8 +502,8 @@ export default {
|
|
id_code: this.signedInfo.id_code,
|
|
id_code: this.signedInfo.id_code,
|
|
detail: this.signedInfo.detail,
|
|
detail: this.signedInfo.detail,
|
|
sex: this.signedInfo.sex,
|
|
sex: this.signedInfo.sex,
|
|
- join_one_num: !this.userInfo.type ? this.join_num : '',
|
|
|
|
- join_two_num: this.userInfo.type ? this.join_num : ''
|
|
|
|
|
|
+ join_one_num: Number(this.userInfo.season_type) ? this.join_num : '',
|
|
|
|
+ join_two_num: Number(this.userInfo.season_type) ? this.join_num : ''
|
|
}
|
|
}
|
|
}).then(res => {
|
|
}).then(res => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|