Commit 1b600be0 authored by 罗林杰's avatar 罗林杰

修改bug

parent c710132a
......@@ -347,24 +347,24 @@
isFollowed: '0'//0 1无所谓 当未关注的查
}
userArticleList(params).then( res =>{
const list = res.data.data
//处理动态照片
if (list[0].pictureId != null){
const urlArray = JSON.parse(list[0].pictureId)
if (urlArray.id.length > 0){
urlArray.id.forEach(item => {
getOssUrl(item).then(imgRes => {
if (imgRes.data.data != null) {
imgRes.data.data = imgRes.data.data.replace(/\\/g, "/");
this.articleUrl.push(imgRes.data.data)
}
if (res.data.data.length > 0){
const list = res.data.data
//处理动态照片
if (list[0].pictureId != null){
const urlArray = JSON.parse(list[0].pictureId)
if (urlArray.id.length > 0){
urlArray.id.forEach(item => {
getOssUrl(item).then(imgRes => {
if (imgRes.data.data != null) {
imgRes.data.data = imgRes.data.data.replace(/\\/g, "/");
this.articleUrl.push(imgRes.data.data)
}
})
})
})
}
}
this.userData.articleContent = list[0].content
}
console.log('111111111111111',list[0].content)
this.userData.articleContent = list[0].content
console.log('222222222222',this.userData.articleContent)
})
//处理地址
if (res.data.data.memResidenceProvince !== '' && res.data.data.memResidenceProvince !== null && res.data.data.memResidenceCity !== '' && res.data.data.memResidenceCity !== null){
......
......@@ -233,7 +233,7 @@ export default {
* 输入监听
*/
bindKeyInput(e) {
this.inputTemp = e.detail.value
this.inputTemp = e
},
//拉黑
addBlack() {
......@@ -330,10 +330,12 @@ export default {
}
getWeChatTask(form).then(res=>{
if (res.data.code == 200){
this.wxTask = res.data.data
if (this.wxTask.type === '2' && this.wxTask.status === '1'){
//请求已经被回应了.让tabbar变色
if (res.data.data !== null){
this.wxTask = res.data.data
if (this.wxTask.type === '2' && this.wxTask.status === '1'){
//请求已经被回应了.让tabbar变色
this.tabbarValue = 1
}
}
}
})
......
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