liujiayin 3 rokov pred
rodič
commit
a8d51e1c03

+ 4 - 2
src/views/system/dashboard/components/new-home.vue

@@ -445,12 +445,14 @@ export default {
 		}
 	},
 	mounted: function () {
+		this.loadData()
 		if (this.timer) {
 			clearInterval(this.timer)
 		}
-
 		this.timer = setInterval(() => {
-			this.loadData()
+			this.getMessage() /* 获取公告 */
+			this.getWait() /* 待办任务*/
+			this.getOrver() /* 已办任务*/
 		}, 180000)
 	},
 	beforeDestroy() {