whyczyk
2021-09-07 63ecb383e567ed93ac5de49b208a3412568e2cbb
添加定时器
1个文件已修改
3 ■■■■■ 已修改文件
src/pages/home/topoGraph.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/home/topoGraph.vue
@@ -820,6 +820,9 @@
        },
        mounted() {
            this.searchAll()
            setInterval(() => {
                this.searchAll()
            }, 2000)
            diagram = gridCircuitDiagram(this.$refs.static, this.$refs.flush);
            this.setPanelPos();
            window.addEventListener('resize', () => {