@ -162,6 +162,9 @@ export default {
}
},
toDetail(e){
if(this.searchVal.msgType==0){
this.$store.dispatch("getSysMsg")
uni.navigateTo({
url:`/pages/home/newsDetail?type=${e.msgType}&msgType=${this.searchVal.msgType}`,
events:{update:()=>this.search('pageOne')}
@ -109,7 +109,7 @@ export default {
if(res.statu){
this.list=this.list.concat(res.data.list)
this.searchVal.pageNo++
this.total=res.dta.total
this.total=res.data.total
if(this.list.length==this.total)uni.showToast({title:"加载完成!",icon:"none"})
}else{
uni.showModal({