perf:1.取消图表选择单位组件可输入 2.traffic setting tags为空时统一为空对象
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div style="display: flex;justify-content: flex-start">
|
<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>
|
<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"
|
:options="chartUnits"
|
||||||
class="chart-unit"
|
class="chart-unit"
|
||||||
:props="{ expandTrigger: 'click' ,emitPath:false}"
|
:props="{ expandTrigger: 'click' ,emitPath:false}"
|
||||||
|
|||||||
@@ -83,7 +83,7 @@
|
|||||||
direction:[],
|
direction:[],
|
||||||
ifindex:null,
|
ifindex:null,
|
||||||
ifdescr:' ',
|
ifdescr:' ',
|
||||||
tags:"",
|
tags:{},
|
||||||
edit:true,
|
edit:true,
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -120,7 +120,7 @@
|
|||||||
direction:[],
|
direction:[],
|
||||||
ifindex:null,
|
ifindex:null,
|
||||||
ifdescr:' ',
|
ifdescr:' ',
|
||||||
tags:"",
|
tags:{},
|
||||||
edit:true,
|
edit:true,
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -146,7 +146,7 @@
|
|||||||
direction:[],
|
direction:[],
|
||||||
ifindex:null,
|
ifindex:null,
|
||||||
ifdescr:' ',
|
ifdescr:' ',
|
||||||
tags:"",
|
tags:{},
|
||||||
edit:true,
|
edit:true,
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -321,7 +321,7 @@
|
|||||||
direction:[],
|
direction:[],
|
||||||
ifindex:null,
|
ifindex:null,
|
||||||
ifdescr:' ',
|
ifdescr:' ',
|
||||||
tags:"",
|
tags:{},
|
||||||
edit:true,
|
edit:true,
|
||||||
})
|
})
|
||||||
this.tableLabels=this.tableLabels.map(item=>{
|
this.tableLabels=this.tableLabels.map(item=>{
|
||||||
@@ -342,7 +342,7 @@
|
|||||||
direction:[],
|
direction:[],
|
||||||
ifindex:null,
|
ifindex:null,
|
||||||
ifdescr:' ',
|
ifdescr:' ',
|
||||||
tags:"",
|
tags:{},
|
||||||
edit:true,
|
edit:true,
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user