feat:添加 promql-input metrics 以及 logs 的切换
This commit is contained in:
@@ -1111,9 +1111,11 @@ export default {
|
||||
type: {
|
||||
deep: true,
|
||||
immediate: true,
|
||||
handler(n) {
|
||||
handler (n) {
|
||||
if (n !== 'log') {
|
||||
this.initCodeMirror()
|
||||
this.$nextTick(() => {
|
||||
this.initCodeMirror()
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user