Commit f977635f authored by lvtz's avatar lvtz

fix

parent 0d48588b
......@@ -2177,6 +2177,7 @@ Page({
},
// 保存闯管打卡
saveLock() {
console.log(this.data.lockparams.join_rule_type,'类型 ')
const that = this;
if (this.data.lockparams.title.trim() == '') {
wx.showToast({
......@@ -2202,7 +2203,7 @@ Page({
})
return;
}
if (this.data.lockparams.join_rule_type == 2 && !/^\d{6}$/.test(that.data.lockparams.join_secret)) {
if (this.data.lockparams.join_rule_type == 3 && !/^\d{6}$/.test(that.data.lockparams.join_secret)) {
wx.showToast({
title: '请输入6位数字的密码',
duration: 1500,
......
......@@ -459,7 +459,7 @@ Page({
"moreTheme.info_collection_count":
this.data.moreTheme.info_collection_count + 1
});
if (this.data.moreTheme.join_rule_type == 2) {
if (this.data.moreTheme.join_rule_type == 3) {
this.setData({
dailogShow: 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