xbx #75

Merged
theluyuan merged 7 commits from xbx into master 2020-08-28 16:14:36 +00:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit aac975e921 - Show all commits

View File

@ -140,8 +140,8 @@ const install = (Vue, vm) => {
isread(){
return vm.$u.post("/message/isread")
},
messageInfo(){
return vm.$u.post("/message/messageInfo")
messageInfo({id}){
return vm.$u.post("/message/messageInfo",{id})
}
}

View File

@ -7,7 +7,7 @@
<u-divider class="time">{{ list.addtime }}</u-divider>
<!-- <text class="time"></text> -->
</view>
<view class="content">{{ list.content }}</view>
<view class="content">{{ list.summary }}</view>
</view>
</view>
</template>
@ -30,7 +30,7 @@
informationList(){
console.log(this.id)
this.$u.api.messageInfo({id:this.id}).then((res)=>{
this.list = res.data
console.log(res);
})