Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
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
黄媛媛
ElectricitySheep
Commits
dfa579d4
Commit
dfa579d4
authored
May 22, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/huangyuanyuan/electricitysheep
parents
e31bc8d7
3466496a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
choiceZhuanti.vue
src/components/common/choiceZhuanti.vue
+2
-2
topic.vue
src/components/sallCenter/plugin/topic.vue
+2
-2
No files found.
src/components/common/choiceZhuanti.vue
View file @
dfa579d4
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
@
selection-change=
"handleSelectionChange"
>
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
>
<el-table-column
type=
"selection"
width=
"55"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"
nam
e"
label=
"名称"
>
<el-table-column
prop=
"
Titl
e"
label=
"名称"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
T
opicNam
e
}}
</
template
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
T
itl
e
}}
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:page-size=
"msgFenlei.pageSize"
<el-pagination
background
@
current-change=
"handleCurrentChange"
:page-size=
"msgFenlei.pageSize"
...
...
src/components/sallCenter/plugin/topic.vue
View file @
dfa579d4
...
@@ -394,14 +394,14 @@
...
@@ -394,14 +394,14 @@
let
topic_list
=
[];
let
topic_list
=
[];
ckedArr
.
forEach
(
x
=>
{
ckedArr
.
forEach
(
x
=>
{
topic_list
.
push
({
topic_list
.
push
({
title
:
x
.
T
opicNam
e
,
title
:
x
.
T
itl
e
,
cover_pic
:
x
.
CoverImg
,
cover_pic
:
x
.
CoverImg
,
read_count
:
x
.
ReadNum
,
read_count
:
x
.
ReadNum
,
// layout: list[i].layout,
// layout: list[i].layout,
id
:
x
.
Id
id
:
x
.
Id
});
});
})
})
topic_list
=
JSON
.
parse
(
JSON
.
stringify
(
topic_list
));
topic_list
=
JSON
.
parse
(
JSON
.
stringify
(
topic_list
));
if
(
this
.
isTopicCheck
==
2
){
if
(
this
.
isTopicCheck
==
2
){
if
(
this
.
data
.
list
&&
this
.
data
.
list
.
length
>
0
)
{
if
(
this
.
data
.
list
&&
this
.
data
.
list
.
length
>
0
)
{
this
.
data
.
list
[
this
.
cat_index
].
children
=
this
.
data
.
list
[
this
.
cat_index
].
children
.
concat
(
topic_list
);
this
.
data
.
list
[
this
.
cat_index
].
children
=
this
.
data
.
list
[
this
.
cat_index
].
children
.
concat
(
topic_list
);
...
...
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