attendingSituation.js 518 Bytes
import create from 'dd-store'
import exampleStore from '/stores/exampleStore'
create.Page({
  store: exampleStore,
  useAll: true,
  data: {
    allUserList: [],
    organizer: ''
  },
  onLoad(event) {
    let allUserList = JSON.parse(event.userList)
    let organizer = event.organizer
    this.setData({
      allUserList: allUserList,
      organizer: organizer
    })
    dd.setNavigationBar({
      title: `参会人(${this.data.allUserList.length}人)`
    })
    console.log(this.data.allUserList)

  },
});