fix:修改面板点击刷新按钮时间未改变的问题

This commit is contained in:
zhangyu
2020-10-20 17:03:15 +08:00
parent 70a55f93c2
commit cf933dbbd4
5 changed files with 86 additions and 7 deletions

View File

@@ -223,6 +223,12 @@ export default {
value:30,
}
],
nowTimeType:{
id:4,
text:this.$t("dashboard.panel.lastOneHour"),
type:'hour',
value:1,
},
};
},
methods: {
@@ -260,6 +266,7 @@ export default {
//left(){},
//right(){},
timeChange(val) {
this.nowTimeType=val;
this.$set(this.showTime, 'id', val.id);
this.$set(this.showTime, 'text', val.text);
if (!val) {
@@ -354,7 +361,7 @@ export default {
}
}
}
}
},
},
mounted: function () {
/*