Commit ad4a9db7 by hank

fix bug

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