|
@ -162,6 +162,9 @@ export default { |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
toDetail(e){ |
|
|
toDetail(e){ |
|
|
|
|
|
if(this.searchVal.msgType==0){ |
|
|
|
|
|
this.$store.dispatch("getSysMsg") |
|
|
|
|
|
} |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url:`/pages/home/newsDetail?type=${e.msgType}&msgType=${this.searchVal.msgType}`, |
|
|
url:`/pages/home/newsDetail?type=${e.msgType}&msgType=${this.searchVal.msgType}`, |
|
|
events:{update:()=>this.search('pageOne')} |
|
|
events:{update:()=>this.search('pageOne')} |
|
|