Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
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
陈玉桐
marketing
Commits
419a9f1b
Commit
419a9f1b
authored
Nov 25, 2019
by
陈玉桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
594a95d9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
loading.gif
src/components/loading/assets/loading.gif
+0
-0
tool.vue
src/views/tool.vue
+12
-12
No files found.
src/components/loading/assets/loading.gif
View replaced file @
594a95d9
View file @
419a9f1b
38.9 KB
|
W:
|
H:
33.2 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/views/tool.vue
View file @
419a9f1b
...
@@ -304,18 +304,18 @@ export default {
...
@@ -304,18 +304,18 @@ export default {
}
}
document
.
documentElement
.
scrollTop
=
document
.
body
.
scrollTop
=
0
document
.
documentElement
.
scrollTop
=
document
.
body
.
scrollTop
=
0
let
me
=
this
let
me
=
this
html2canvas
(
document
.
getElementById
(
'posterOut'
),
{
setTimeout
(
function
()
{
useCORS
:
true
,
html2canvas
(
document
.
getElementById
(
'posterOut'
),
{
backgroundColor
:
null
,
useCORS
:
true
,
allowTaint
:
false
backgroundColor
:
null
,
}).
then
(
canvas
=>
{
allowTaint
:
false
me
.
posterUrl
=
canvas
.
toDataURL
(
'image/png'
)
}).
then
(
canvas
=>
{
setTimeout
(
function
(){
me
.
posterUrl
=
canvas
.
toDataURL
(
'image/png'
)
me
.
loadingShow
=
false
me
.
loadingShow
=
false
me
.
showPoster
=
true
me
.
showPoster
=
true
me
.
createDialogShow
=
true
me
.
createDialogShow
=
true
}
,
300
)
})
})
}
,
300
)
}
else
{
}
else
{
this
.
applyDialogShow
=
true
this
.
applyDialogShow
=
true
}
}
...
...
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