render
h(
'dms-editor-cell',
{
props: { 'column-key': 'alarm_flag', 'row-key': `${row.$index}` },
},
[
h(
'el-select',
{
props: { placeholder: '请选择', value: this.dealStatus[row.alarm_id] },
on: {
change: (v: number) => {
this.$set(this.dealStatus, row.alarm_id, v);
},
},
},
this.options1.map((o) =>
h('el-option', { props: { value: o.value, label: o.label } })
)
// [
// h('el-option', {
// props: {
// value: 1,
// label: '已处理',
// },
// }),
// h('el-option', {
// props: {
// value: 0,
// label: '未处理',
// },
// }),
// ]
),
]
),