Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
electron-printer
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhuzhequan
electron-printer
Commits
d9399028
Commit
d9399028
authored
May 23, 2025
by
linjinhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改切换图片样式重复的问题
parent
1afb0bd1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
src/views/design/main/index.vue
+5
-8
No files found.
src/views/design/main/index.vue
View file @
d9399028
...
@@ -164,12 +164,7 @@ export default {
...
@@ -164,12 +164,7 @@ export default {
systemSetting
:
{},
systemSetting
:
{},
detail
:
{},
detail
:
{},
imgHeight
:
0
,
imgHeight
:
0
,
selectImgList
:
[
selectImgList
:
[],
{
productionFile
:
"D:
\\
work
\\
electron-printer
\\
print
\\
Input
\\
111.png"
,
designId
:
1
,
},
],
bus
:
0
,
bus
:
0
,
showImgSetting
:
true
,
showImgSetting
:
true
,
...
@@ -203,7 +198,6 @@ export default {
...
@@ -203,7 +198,6 @@ export default {
if
(
this
.
imgList
.
length
>
0
)
{
if
(
this
.
imgList
.
length
>
0
)
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
let
dom
=
document
.
getElementsByClassName
(
"drr"
);
let
dom
=
document
.
getElementsByClassName
(
"drr"
);
console
.
log
(
"dom"
,
dom
);
this
.
imgList
.
forEach
((
el
,
i
)
=>
{
this
.
imgList
.
forEach
((
el
,
i
)
=>
{
let
dom_i
=
document
.
getElementsByClassName
(
"drr"
)[
i
];
let
dom_i
=
document
.
getElementsByClassName
(
"drr"
)[
i
];
...
@@ -427,7 +421,10 @@ export default {
...
@@ -427,7 +421,10 @@ export default {
this
.
imgHistoryList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
imgList
)));
this
.
imgHistoryList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
imgList
)));
});
});
});
});
setTimeout
(()
=>
{
this
.
imgDom
=
document
.
getElementById
(
"imgBox"
);
if
(
this
.
imgDom
)
this
.
imgDom
.
style
.
webkitClipPath
=
"none"
;
},
300
);
// this.selectImgIndexList = Array.from(new Set(this.selectImgIndexList))
// this.selectImgIndexList = Array.from(new Set(this.selectImgIndexList))
// this.getBackFile({ files: [it], size });
// this.getBackFile({ files: [it], size });
},
},
...
...
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