perf:1.取消图表选择单位组件可输入 2.traffic setting tags为空时统一为空对象
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div style="display: flex;justify-content: flex-start">
|
||||
<button class="input-prepend nz-btn nz-btn-size-small nz-btn-style-light nz-btn-style-square nz-input-group-prepend" @click="openSeletor">{{$t('dashboard.panel.chartForm.unit')}}</button>
|
||||
<el-cascader filterable placeholder="" popper-class="no-style-class unit-pop-class" size="mini"
|
||||
<el-cascader placeholder="" popper-class="no-style-class unit-pop-class" size="mini"
|
||||
:options="chartUnits"
|
||||
class="chart-unit"
|
||||
:props="{ expandTrigger: 'click' ,emitPath:false}"
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
direction:[],
|
||||
ifindex:null,
|
||||
ifdescr:' ',
|
||||
tags:"",
|
||||
tags:{},
|
||||
edit:true,
|
||||
}
|
||||
]
|
||||
@@ -120,7 +120,7 @@
|
||||
direction:[],
|
||||
ifindex:null,
|
||||
ifdescr:' ',
|
||||
tags:"",
|
||||
tags:{},
|
||||
edit:true,
|
||||
}
|
||||
]
|
||||
@@ -146,7 +146,7 @@
|
||||
direction:[],
|
||||
ifindex:null,
|
||||
ifdescr:' ',
|
||||
tags:"",
|
||||
tags:{},
|
||||
edit:true,
|
||||
}
|
||||
]
|
||||
|
||||
@@ -321,7 +321,7 @@
|
||||
direction:[],
|
||||
ifindex:null,
|
||||
ifdescr:' ',
|
||||
tags:"",
|
||||
tags:{},
|
||||
edit:true,
|
||||
})
|
||||
this.tableLabels=this.tableLabels.map(item=>{
|
||||
@@ -342,7 +342,7 @@
|
||||
direction:[],
|
||||
ifindex:null,
|
||||
ifdescr:' ',
|
||||
tags:"",
|
||||
tags:{},
|
||||
edit:true,
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user