通知公告
This commit is contained in:
		| @@ -139,11 +139,8 @@ export default { | |||||||
|  |  | ||||||
|   onShow() { |   onShow() { | ||||||
|     this.current = 1; |     this.current = 1; | ||||||
|     this.$loading() |  | ||||||
|     this.injectJWeixin(['sendChatMessage']).then(() => { |     this.injectJWeixin(['sendChatMessage']).then(() => { | ||||||
|       this.getList(); |       this.getList(); | ||||||
|     }).catch(() => { |  | ||||||
|       this.$hideLoading() |  | ||||||
|     }) |     }) | ||||||
|   }, |   }, | ||||||
|  |  | ||||||
| @@ -237,10 +234,6 @@ export default { | |||||||
|           } |           } | ||||||
|           this.dataList = this.current > 1 ? [...this.dataList, ...res.data.records] : res.data.records |           this.dataList = this.current > 1 ? [...this.dataList, ...res.data.records] : res.data.records | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         this.$hideLoading() |  | ||||||
|       }).catch(() => { |  | ||||||
|         this.$hideLoading() |  | ||||||
|       }) |       }) | ||||||
|     }, |     }, | ||||||
|   } |   } | ||||||
|   | |||||||
| @@ -80,12 +80,8 @@ | |||||||
|     }, |     }, | ||||||
|  |  | ||||||
|     created() { |     created() { | ||||||
|       this.$loading() |  | ||||||
|       this.injectJWeixin(['sendChatMessage']).then(() => { |       this.injectJWeixin(['sendChatMessage']).then(() => { | ||||||
|         this.getDetail() |         this.getDetail() | ||||||
|       }).catch(() => { |  | ||||||
|         this.getDetail() |  | ||||||
|         this.$hideLoading() |  | ||||||
|       }) |       }) | ||||||
|     }, |     }, | ||||||
|  |  | ||||||
| @@ -111,7 +107,6 @@ | |||||||
|           if (res && res.data) { |           if (res && res.data) { | ||||||
|             this.detailObj = res.data; |             this.detailObj = res.data; | ||||||
|             this.pageShow = true |             this.pageShow = true | ||||||
|             this.$hideLoading() |  | ||||||
|           } |           } | ||||||
|         }) |         }) | ||||||
|       }, |       }, | ||||||
|   | |||||||
| @@ -31,7 +31,6 @@ export default { | |||||||
|   }, |   }, | ||||||
|   created() { |   created() { | ||||||
|     document.title = "接收对象"; |     document.title = "接收对象"; | ||||||
|     this.$loading() |  | ||||||
|     this.injectJWeixin().then(() => { |     this.injectJWeixin().then(() => { | ||||||
|       this.getList(); |       this.getList(); | ||||||
|     }) |     }) | ||||||
| @@ -46,7 +45,6 @@ export default { | |||||||
|       }).then(res => { |       }).then(res => { | ||||||
|         if (res && res.data) { |         if (res && res.data) { | ||||||
|           this.list = res.data; |           this.list = res.data; | ||||||
|           this.$hideLoading() |  | ||||||
|         } |         } | ||||||
|       }) |       }) | ||||||
|     }, |     }, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user