update 设备参数状态监控,将‘参数近期值’导向“获取设备的历史参数值”(暂未实现)

This commit is contained in:
2022-09-08 15:47:08 +08:00
parent ce9c0f9d76
commit 10e454eb2a
4 changed files with 49 additions and 15 deletions

View File

@@ -24,7 +24,7 @@ export default {
}
},
render: function (h) {
// console.log(this)
return h('span', null, [h('el-button', { props: { type: 'text' }, style: { paddingLeft: 0 }, on: { click: this.emitClick } }, this.injectData.buttonContent || this.defaultText)])
// console.log('button content:', this.injectData)
return h('span', null, [h('el-button', { props: { type: 'text' }, style: { paddingLeft: 0 }, on: { click: this.emitClick } }, this.injectData.head?.buttonContent || this.defaultText)])
}
}