Commit 474788ed authored by mahui's avatar mahui

init

parent 2b69db9e
......@@ -457,6 +457,7 @@
}
function initGauge(){
nextTick(()=>{
setTimeout(()=>{
state.myChart = echarts.init(chart.value);
let option = {
series: [
......@@ -549,6 +550,7 @@
state.myChart.clear();
state.myChart.setOption(option);
state.myChart.resize();
},500)
})
}
function getList(){
......@@ -559,7 +561,7 @@
page:page,
page_size:state.list.pageSize,
};
if(state.filter.time_order[0]&&state.filter.time_order[1]){
if(state.filter.time_order&&state.filter.time_order[0]&&state.filter.time_order[1]){
p.start_time = state.filter.time_order[0];
p.end_time = state.filter.time_order[1];
}
......@@ -834,6 +836,7 @@
align-items: center;
margin-right: 55px;
.filter-name{
flex-shrink: 0;
color: #666;
margin-right: 20px;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment