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(){ isread(){
return vm.$u.post("/message/isread") return vm.$u.post("/message/isread")
}, },
messageInfo(){ messageInfo({id}){
return vm.$u.post("/message/messageInfo") return vm.$u.post("/message/messageInfo",{id})
} }
} }

View File

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