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
a7d276c8
Commit
a7d276c8
authored
Mar 24, 2025
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
1b600be0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
List.vue
pages/components/article/List.vue
+11
-9
No files found.
pages/components/article/List.vue
View file @
a7d276c8
...
@@ -158,6 +158,7 @@
...
@@ -158,6 +158,7 @@
}
}
topicList
(
form
).
then
(
res
=>
{
topicList
(
form
).
then
(
res
=>
{
//获取res.data.data里的topicName赋值给this.topicList,并且
//获取res.data.data里的topicName赋值给this.topicList,并且
if
(
res
.
data
.
data
.
length
>
0
){
this
.
topicList
=
res
.
data
.
data
.
map
(
item
=>
{
this
.
topicList
=
res
.
data
.
data
.
map
(
item
=>
{
return
{
return
{
id
:
item
.
businessId
,
id
:
item
.
businessId
,
...
@@ -167,6 +168,7 @@
...
@@ -167,6 +168,7 @@
//初始化话题id 锁到第一个话题
//初始化话题id 锁到第一个话题
this
.
topicId
=
this
.
topicList
[
0
].
id
this
.
topicId
=
this
.
topicList
[
0
].
id
this
.
$emit
(
'topicId'
,
this
.
topicId
)
this
.
$emit
(
'topicId'
,
this
.
topicId
)
}
})
})
},
},
// 接收父组件传过来的刷新列表要求
// 接收父组件传过来的刷新列表要求
...
...
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