Commit 9f121eb3 authored by 罗林杰's avatar 罗林杰

修改拉黑

parent 2a1ed63d
......@@ -137,7 +137,7 @@ export default {
if (item.avatar != null && item.avatar != ''){
getOssUrl(item.avatar).then(imgRes => {
if (imgRes.data.data != null) {
item.picture = imgRes.data.data.replace(/\\/g, "/");
item.avatar = imgRes.data.data.replace(/\\/g, "/");
}
})
}
......@@ -163,10 +163,7 @@ export default {
}
addBlack(form).then(res=>{
if (res.data.code == 200){
uni.showToast({
title: '已拉黑',
icon: 'none'
})
this.backbar()
}
})
}
......@@ -193,7 +190,7 @@ export default {
}
addMessage(data).then(res => {
if (res.data.code == 200){
this.getMessageList()
this.$refs.paging.reload();
this.inputTemp = ''
} else if (res.data.code === 1001){
//留言超出限制 是否采用金币进行留言
......@@ -210,7 +207,7 @@ export default {
}
addMessage(form).then(res=>{
if (res.data.code == 200){
this.getMessageList()
this.$refs.paging.reload();
this.inputTemp = ''
}
})
......
......@@ -132,7 +132,7 @@ export default {
title: '移除成功',
icon: 'none'
});
this.getUserList();
this.$refs.paging.reload();
}
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment