Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
company-portal-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
company-portal-ui
Commits
ec46eed3
Commit
ec46eed3
authored
Dec 03, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置文件
parent
bf812791
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
admin/src/views/portal/ExampleView.vue
admin/src/views/portal/ExampleView.vue
+10
-8
No files found.
admin/src/views/portal/ExampleView.vue
View file @
ec46eed3
...
@@ -85,16 +85,18 @@ export default {
...
@@ -85,16 +85,18 @@ export default {
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
res
.
code
==
1
)
{
if
(
res
.
code
==
1
)
{
console
.
log
(
res
)
console
.
log
(
res
)
const
temp
=
res
.
data
.
data
if
(
res
.
data
.
data
.
length
>
0
){
//console.log(temp)
const
temp
=
res
.
data
.
data
[
0
]
const
list
=
[];
//console.log(temp)
for
(
let
i
=
1
;
i
<
17
;
i
++
)
{
const
list
=
[];
// 判断是否为空
for
(
let
i
=
1
;
i
<
17
;
i
++
)
{
if
(
temp
[
'
image
'
+
i
]
!=
null
){
// 判断是否为空
list
.
push
(
temp
[
'
image
'
+
i
])
if
(
temp
[
'
image
'
+
i
]
!=
null
){
list
.
push
(
temp
[
'
image
'
+
i
])
}
}
}
this
.
list
=
list
}
}
this
.
list
=
list
console
.
log
(
"
list
"
,
this
.
list
)
console
.
log
(
"
list
"
,
this
.
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