diff --git a/src/views/couplet/monitorinData/index.vue b/src/views/couplet/monitorinData/index.vue index 310a6aa..6a038d8 100644 --- a/src/views/couplet/monitorinData/index.vue +++ b/src/views/couplet/monitorinData/index.vue @@ -326,6 +326,9 @@ export default { } ) }, + refreshTableData() { + this.getList(); + } }, //生命周期 - 创建完成(可以访问当前this实例)", created() { @@ -333,6 +336,9 @@ export default { }, //生命周期 - 挂载完成(可以访问DOM元素)", mounted() { + setInterval(() => { + this.refreshTableData(); + }, 4000); }, beforeCreate() { }, //生命周期 - 创建之前",