Commit 112bd921 by liang ce

模拟器选人和手机端不一致!!!!!!

parent 8fd652f1
...@@ -171,10 +171,9 @@ create.Page({ ...@@ -171,10 +171,9 @@ create.Page({
} }
}) })
} else { } else {
select = this.store.data.participatorUserId select = [...this.store.data.participatorUserId]
require = this.data.requireUsers require = [...this.data.requireUsers]
console.log(require) console.log(require)
console.log(_that.selectedelRequired(require, select).pickedUsers)
} }
dd.complexChoose({ dd.complexChoose({
limitTips: "超出了", //超过限定人数返回提示 limitTips: "超出了", //超过限定人数返回提示
...@@ -202,7 +201,7 @@ create.Page({ ...@@ -202,7 +201,7 @@ create.Page({
_that.store.data.participatorUserId.push(item.userId) _that.store.data.participatorUserId.push(item.userId)
}) })
_that.data.requireUsersInfo.forEach((item, index) => { _that.data.requireUsersInfo.forEach((item, index) => {
_that.store.data.participatorList.push({ userId: item.userId, username: item.name, headUrl: item.headUrl }) _that.store.data.participatorList.push({ userId: item.userId, username: item.username, headUrl: item.headUrl })
_that.store.data.participatorUserId.push(item.userId) _that.store.data.participatorUserId.push(item.userId)
}) })
} }
......
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