fix: 部分点击触发功能样式调整,和 table 分页问题修复
This commit is contained in:
@@ -73,6 +73,7 @@
|
||||
}
|
||||
}
|
||||
.top-tool-btn {
|
||||
cursor: pointer;
|
||||
height: 33px;
|
||||
width: 36px;
|
||||
border: 1px solid $--border-color-primary;
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
font-size: 14px;
|
||||
border-radius: 2px;
|
||||
display: flex;
|
||||
cursor: pointer;
|
||||
|
||||
.date-range-refresh {
|
||||
margin-left: 10px;
|
||||
|
||||
@@ -80,6 +80,7 @@
|
||||
i {
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -400,9 +400,9 @@ export default {
|
||||
const dateRangeValue = 60
|
||||
const { startTime, endTime } = getNowTime(dateRangeValue)
|
||||
const chartTimeFilter = ref({ startTime, endTime, dateRangeValue })
|
||||
let table = {}
|
||||
const table = ref({})
|
||||
if (isBasicTable(props.chartInfo.type)) {
|
||||
table = {
|
||||
table.value = {
|
||||
pageSize: chartTableDefaultPageSize,
|
||||
limit: chartTableTopOptions[0], // top-n
|
||||
orderBy: props.chartInfo.params.columns.order[0],
|
||||
|
||||
@@ -285,9 +285,7 @@ export default {
|
||||
// eventSeverityTrendOption.xAxis.data = dataMap.get('info').map(v => rTime(v[0]))
|
||||
eventSeverityTrendOption.xAxis.data = xData
|
||||
const detectionChart = echarts.init(chartDom)
|
||||
window.addEventListener('resize', function () {
|
||||
detectionChart.resize()
|
||||
})
|
||||
this.echartsResize(detectionChart)
|
||||
detectionChart.setOption(eventSeverityTrendOption)
|
||||
// this.isEventSeverityNoData = false
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user