diff --git a/nezha-fronted/src/components/cli/consoleNew.vue b/nezha-fronted/src/components/cli/consoleNew.vue index 47f25cdc4..734f66d5f 100644 --- a/nezha-fronted/src/components/cli/consoleNew.vue +++ b/nezha-fronted/src/components/cli/consoleNew.vue @@ -122,7 +122,6 @@ export default { let url = '' this.terminal.height = document.body.clientHeight - 100 this.terminal.width = document.body.clientWidth - console.log(this.term.cols, this.term.cols) if (this.terminal.type === 'asset') { url = baseUrl + '/terminal.ws?width=' + this.terminal.width + '&height=' + this.terminal.height + '&cols=' + this.term.cols + '&rows=' + this.term.rows + '&token=' + token + '&assetId=' + this.terminal.assetId + '&accountId=' + this.terminal.accountId + '&uuid=' + this.terminal.uuid } else if (this.terminal.type === 'custom') { diff --git a/nezha-fronted/src/components/cli/fileDirectory.vue b/nezha-fronted/src/components/cli/fileDirectory.vue index bb823d4d0..209ca5546 100644 --- a/nezha-fronted/src/components/cli/fileDirectory.vue +++ b/nezha-fronted/src/components/cli/fileDirectory.vue @@ -585,7 +585,6 @@ export default { return '-' }, resetState (type) { - console.log(type) if (type == 'sizeOrderType') { this.dateOrderType = 0 this.nameOrderType = 0 diff --git a/nezha-fronted/src/components/common/ChartDiagram/diagram.vue b/nezha-fronted/src/components/common/ChartDiagram/diagram.vue index 7f3f62bbd..f20f96b4b 100644 --- a/nezha-fronted/src/components/common/ChartDiagram/diagram.vue +++ b/nezha-fronted/src/components/common/ChartDiagram/diagram.vue @@ -660,6 +660,7 @@ export default { initPens (data) { // 获取对应的值 给节点 连线添加对应动画 this.lineName = data.lineName ? data.lineName : this.lineName + getTopology(this.topologyIndex).setOptions({ drawingLineName: this.lineName }) this.chartGetData = [] const axiosArr = [] const promiseArr = [] @@ -1635,9 +1636,8 @@ export default { // this.topologyData.data[key]=this.colorRGBtoHex(val); // getTopology(this.index).data[key]=val; // getTopology(this.index).render(); - const dataOption = getTopology(this.topologyIndex).data() - dataOption[key] = this.lineName - getTopology(this.topologyIndex).render() + getTopology(this.topologyIndex).store.data.lineName = val + getTopology(this.topologyIndex).setOptions({ drawingLineName: val }) }, notModuleIDArrChange (id) { this.notModuleIDArr = this.notModuleIDArr.filter(item => item.id !== id) diff --git a/nezha-fronted/src/components/common/elementSet.vue b/nezha-fronted/src/components/common/elementSet.vue index 5f491dee1..e367633db 100644 --- a/nezha-fronted/src/components/common/elementSet.vue +++ b/nezha-fronted/src/components/common/elementSet.vue @@ -1,7 +1,7 @@