Browse Source

解决报错问题

xiaohaizhao 1 year ago
parent
commit
e19f1280af
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/index/modules/home.vue

+ 1 - 1
pages/index/modules/home.vue

@@ -79,7 +79,7 @@ export default {
 			this.$refs.notice.getList(true);
 			this.$refs.notice.getList(true);
 			this.$refs.spectaculars.getDetail();
 			this.$refs.spectaculars.getDetail();
 			this.$refs.patrolScheme.getDetail();
 			this.$refs.patrolScheme.getDetail();
-			this.$refs.workroder.getlist(true);
+			if (this.showWorkrder) this.$refs.workroder.getlist(true);
 		},
 		},
 		getWeather() {
 		getWeather() {
 			this.$Http.basic({
 			this.$Http.basic({