修改接口

master
夜笙歌 11 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> <template>
<section class="app-main"> <section class="app-main">
<transition name="fade-transform" mode="out-in"> <transition name="fade-transform" mode="out-in">
<keep-alive :include="cachedViews"> <!-- <keep-alive :include="cachedViews">-->
<router-view v-if="!$route.meta.link" :key="key" /> <router-view v-if="!$route.meta.link" :key="key" />
</keep-alive> <!-- </keep-alive>-->
</transition> </transition>
<iframe-toggle /> <iframe-toggle />
<div class="time" id="time">{{ time }}</div> <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' import {mixData} from '@/api/board/mixData'
const vw = (document.documentElement.clientWidth || document.body.clientWidth) / 100 const vw = (document.documentElement.clientWidth || document.body.clientWidth) / 100
let intervalFun = null
export default { export default {
components: { components: {
vueSeamlessScroll, vueSeamlessScroll,
@ -595,8 +595,20 @@ export default {
this.RequestDataSet.forEach(val => { this.RequestDataSet.forEach(val => {
mixData(val) mixData(val)
}) })
}, intervalFun = setInterval(() => {
methods: {} this.RequestDataSet.forEach(val => {
mixData(val)
})
}, 1000 * 10)
},
methods: {},
beforeDestroy() {
console.log(1)
if(intervalFun){
clearInterval(intervalFun)
intervalFun = null
}
}
}; };
</script> </script>
<style scoped> <style scoped>

Loading…
Cancel
Save