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

修改bug

parent c710132a
...@@ -347,6 +347,7 @@ ...@@ -347,6 +347,7 @@
isFollowed: '0'//0 1无所谓 当未关注的查 isFollowed: '0'//0 1无所谓 当未关注的查
} }
userArticleList(params).then( res =>{ userArticleList(params).then( res =>{
if (res.data.data.length > 0){
const list = res.data.data const list = res.data.data
//处理动态照片 //处理动态照片
if (list[0].pictureId != null){ if (list[0].pictureId != null){
...@@ -362,9 +363,8 @@ ...@@ -362,9 +363,8 @@
}) })
} }
} }
console.log('111111111111111',list[0].content)
this.userData.articleContent = 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){ 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 { ...@@ -233,7 +233,7 @@ export default {
* 输入监听 * 输入监听
*/ */
bindKeyInput(e) { bindKeyInput(e) {
this.inputTemp = e.detail.value this.inputTemp = e
}, },
//拉黑 //拉黑
addBlack() { addBlack() {
...@@ -330,12 +330,14 @@ export default { ...@@ -330,12 +330,14 @@ export default {
} }
getWeChatTask(form).then(res=>{ getWeChatTask(form).then(res=>{
if (res.data.code == 200){ if (res.data.code == 200){
if (res.data.data !== null){
this.wxTask = res.data.data this.wxTask = res.data.data
if (this.wxTask.type === '2' && this.wxTask.status === '1'){ if (this.wxTask.type === '2' && this.wxTask.status === '1'){
//请求已经被回应了.让tabbar变色 //请求已经被回应了.让tabbar变色
this.tabbarValue = 1 this.tabbarValue = 1
} }
} }
}
}) })
}, },
confirm() { confirm() {
......
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