|
|
|
|
@ -72,6 +72,7 @@ export default {
|
|
|
|
|
num:240
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
inject: ['reload'],
|
|
|
|
|
mounted() {
|
|
|
|
|
this.getRealTimeList()
|
|
|
|
|
// this.getVideos()
|
|
|
|
|
@ -84,9 +85,9 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
// 展开收起
|
|
|
|
|
handleUpDown() {
|
|
|
|
|
this.controlLabel = !this.controlLabel;
|
|
|
|
|
},
|
|
|
|
|
// handleUpDown() {
|
|
|
|
|
// this.controlLabel = !this.controlLabel;
|
|
|
|
|
// },
|
|
|
|
|
getRealTimeList(){
|
|
|
|
|
var that=this
|
|
|
|
|
this.$api.httpApi.getRealTimeList({
|
|
|
|
|
@ -135,7 +136,7 @@ export default {
|
|
|
|
|
that.num = that.num-1;
|
|
|
|
|
console.log(that.num)
|
|
|
|
|
if(that.num == -1){
|
|
|
|
|
location.reload();
|
|
|
|
|
that.reload() //局部刷新
|
|
|
|
|
that.num = 240
|
|
|
|
|
}
|
|
|
|
|
},1000)
|
|
|
|
|
|