Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
Overview
Overview
Details
Activity
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
吴迪
gs1
Commits
ae9b3cd3
Commit
ae9b3cd3
authored
Feb 21, 2022
by
林家欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改首页要闻左侧后台图片预览接口
parent
bac90685
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
index.vue
src/views/Home/index.vue
+4
-6
No files found.
src/views/Home/index.vue
View file @
ae9b3cd3
...
@@ -1132,15 +1132,13 @@ export default {
...
@@ -1132,15 +1132,13 @@ export default {
const
query
=
{
const
query
=
{
id
:
pictureId
,
id
:
pictureId
,
};
};
const
indexCarouselManageRes
=
await
this
.
$api
.
home
.
indexCarouselManag
e
(
const
homePictureRes
=
await
this
.
$api
.
home
.
homePictur
e
(
query
query
);
);
const
{
returnCode
,
data
}
=
indexCarouselManag
eRes
;
const
{
returnCode
,
data
}
=
homePictur
eRes
;
console
.
log
(
indexCarouselManag
eRes
,
"后台轮播图预览2"
);
console
.
log
(
homePictur
eRes
,
"后台轮播图预览2"
);
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
&&
data
)
{
const
list
=
[];
const
list
=
[];
data
.
jumppath
=
data
.
directpath
;
data
.
picFile
=
data
.
picIndexPath
;
list
.
push
(
data
);
list
.
push
(
data
);
this
.
newsBanner
=
list
;
this
.
newsBanner
=
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