Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 13540fb1
authored
Jul 06, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加图片翻页
1 parent
d3f76d79
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
src/views/work/otherImage.vue
src/views/work/otherImage.vue
View file @
13540fb
...
@@ -66,6 +66,12 @@ export default {
...
@@ -66,6 +66,12 @@ export default {
type
:
Number
,
type
:
Number
,
default
:
0
,
default
:
0
,
},
},
list
:{
type
:
Array
,
default
:
function
()
{
return
[];
},
}
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -209,7 +215,7 @@ export default {
...
@@ -209,7 +215,7 @@ export default {
// 获取图片预览列表
// 获取图片预览列表
getPreViewList
(
url
)
{
getPreViewList
(
url
)
{
let
_this
=
this
;
let
_this
=
this
;
let
list
=
this
.
imgL
ist
||
[];
let
list
=
this
.
l
ist
||
[];
let
arr
=
[];
let
arr
=
[];
list
.
map
((
k
)
=>
{
list
.
map
((
k
)
=>
{
if
(
k
.
pah
==
url
)
{
if
(
k
.
pah
==
url
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment