消息完成
This commit is contained in:
parent
1305931e3b
commit
aac975e921
@ -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})
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -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);
|
||||
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user