Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李伟
cust-app
Commits
1b600be0
Commit
1b600be0
authored
Mar 24, 2025
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
c710132a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
19 deletions
+21
-19
userInfo.vue
pagesUser/userInfo.vue
+15
-15
info.vue
pagesme/message/info.vue
+6
-4
No files found.
pagesUser/userInfo.vue
View file @
1b600be0
...
@@ -347,24 +347,24 @@
...
@@ -347,24 +347,24 @@
isFollowed
:
'0'
//0 1无所谓 当未关注的查
isFollowed
:
'0'
//0 1无所谓 当未关注的查
}
}
userArticleList
(
params
).
then
(
res
=>
{
userArticleList
(
params
).
then
(
res
=>
{
const
list
=
res
.
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
(
list
[
0
].
pictureId
!=
null
){
if
(
urlArray
.
id
.
length
>
0
){
const
urlArray
=
JSON
.
parse
(
list
[
0
].
pictureId
)
urlArray
.
id
.
forEach
(
item
=>
{
if
(
urlArray
.
id
.
length
>
0
){
getOssUrl
(
item
).
then
(
imgRes
=>
{
urlArray
.
id
.
forEach
(
item
=>
{
if
(
imgRes
.
data
.
data
!=
null
)
{
getOssUrl
(
item
).
then
(
imgRes
=>
{
imgRes
.
data
.
data
=
imgRes
.
data
.
data
.
replace
(
/
\\
/g
,
"/"
);
if
(
imgRes
.
data
.
data
!=
null
)
{
this
.
articleUrl
.
push
(
imgRes
.
data
.
data
)
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
){
if
(
res
.
data
.
data
.
memResidenceProvince
!==
''
&&
res
.
data
.
data
.
memResidenceProvince
!==
null
&&
res
.
data
.
data
.
memResidenceCity
!==
''
&&
res
.
data
.
data
.
memResidenceCity
!==
null
){
...
...
pagesme/message/info.vue
View file @
1b600be0
...
@@ -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,10 +330,12 @@ export default {
...
@@ -330,10 +330,12 @@ export default {
}
}
getWeChatTask
(
form
).
then
(
res
=>
{
getWeChatTask
(
form
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
){
if
(
res
.
data
.
code
==
200
){
this
.
wxTask
=
res
.
data
.
data
if
(
res
.
data
.
data
!==
null
){
if
(
this
.
wxTask
.
type
===
'2'
&&
this
.
wxTask
.
status
===
'1'
){
this
.
wxTask
=
res
.
data
.
data
//请求已经被回应了.让tabbar变色
if
(
this
.
wxTask
.
type
===
'2'
&&
this
.
wxTask
.
status
===
'1'
){
//请求已经被回应了.让tabbar变色
this
.
tabbarValue
=
1
this
.
tabbarValue
=
1
}
}
}
}
}
})
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment