Commit ad4a9db7 by hank

fix bug

parent e792dd3f
......@@ -169,8 +169,8 @@ class ScheduleAdd extends Component {
}
deviceList.map((item: any) => {
equipmentsIds.push(item.equipmentsId)
equipmentTopicList.push(item.equipmentTopic)
equipmentsIds.push(item.equipmentId)
equipmentTopicList.push(item.mqttTopic)
})
filmList.map((item: any) => {
filmInfos.push({
......@@ -223,8 +223,8 @@ class ScheduleAdd extends Component {
<View className="schedule-add-title">播放设备</View>
{deviceList &&
deviceList.map((item, index) => {
return <View key={index}>item 设备{index}</View>
deviceList.map((item: any, index) => {
return <View key={index}>{item.equipmentName}</View>
})}
<Button size="mini" onClick={this.chooseDevice}>
选择设备
......
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 sign in to comment