feat:添加 promql-input metrics 以及 logs 的切换

This commit is contained in:
zhangyu
2022-04-25 14:47:40 +08:00
parent 647cd8c9e5
commit 29258f31d3

View File

@@ -1111,9 +1111,11 @@ export default {
type: {
deep: true,
immediate: true,
handler(n) {
handler (n) {
if (n !== 'log') {
this.initCodeMirror()
this.$nextTick(() => {
this.initCodeMirror()
})
}
}
}