修改接口

master
夜笙歌 8 months ago
parent 6e630be2f7
commit 56e4c71c44

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 60 KiB

@ -1,9 +1,9 @@
<template>
<section class="app-main">
<transition name="fade-transform" mode="out-in">
<keep-alive :include="cachedViews">
<!-- <keep-alive :include="cachedViews">-->
<router-view v-if="!$route.meta.link" :key="key" />
</keep-alive>
<!-- </keep-alive>-->
</transition>
<iframe-toggle />
<div class="time" id="time">{{ time }}</div>

File diff suppressed because it is too large Load Diff

@ -97,7 +97,7 @@ import {getData, generalInterfaceList, getSimulateData} from '@/api/board/getDat
import {mixData} from '@/api/board/mixData'
const vw = (document.documentElement.clientWidth || document.body.clientWidth) / 100
let intervalFun = null
export default {
components: {
vueSeamlessScroll,
@ -595,8 +595,20 @@ export default {
this.RequestDataSet.forEach(val => {
mixData(val)
})
},
methods: {}
intervalFun = setInterval(() => {
this.RequestDataSet.forEach(val => {
mixData(val)
})
}, 1000 * 10)
},
methods: {},
beforeDestroy() {
console.log(1)
if(intervalFun){
clearInterval(intervalFun)
intervalFun = null
}
}
};
</script>
<style scoped>

Loading…
Cancel
Save