Ver Fonte

首页修正

wgl há 4 anos atrás
pai
commit
2d9adaf1fa
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      src/projects/pension/views/Master/Home.vue

+ 3 - 3
src/projects/pension/views/Master/Home.vue

@@ -258,12 +258,12 @@
 			asynCallBack() {
 				//获取用户角色列表
 				this.getRoleList();
+				//获取最新二条通知消息
+				this.prefetchNotice();
+
 			},
 		},
 		mounted() {
-			//获取最新二条通知消息
-			this.prefetchNotice();
-
 			var gallery = mui('.mui-slider');
 			var slider = gallery.slider({
 				interval: 2000, //自动轮播周期,若为0则不自动播放,默认为0;