Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
Project
Project
Details
Activity
Releases
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
wildfirecode13
xiaoxiaole
Commits
0ac3fc86
Commit
0ac3fc86
authored
Aug 24, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
200e050e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
getSharePic.ts
egret/src/getSharePic.ts
+1
-1
getShowOffPic.ts
egret/src/getShowOffPic.ts
+1
-1
shareCtrl.ts
egret/src/shareCtrl.ts
+1
-1
No files found.
egret/src/getSharePic.ts
View file @
0ac3fc86
...
...
@@ -35,7 +35,7 @@ export const getShareUrl = async (parent?: egret.DisplayObjectContainer) => {
const
base64
=
getPrintScreenData
(
showoff
,
0
,
0
,
pic
.
textureWidth
,
parent
.
stage
.
stageHeight
);
NetManager
.
ins
.
imgUrl
((
success
)
=>
{
const
data
=
DataManager
.
ins
.
getData
(
'imgURL'
);
img
.
src
=
data
;
img
.
src
=
data
.
data
;
r
(
data
);
},
base64
);
})
...
...
egret/src/getShowOffPic.ts
View file @
0ac3fc86
...
...
@@ -28,7 +28,7 @@ export default async (parent?: egret.DisplayObjectContainer) => {
const
base64
=
getPrintScreenData
(
showoff
,
0
,
0
,
pic
.
textureWidth
,
parent
.
stage
.
stageHeight
);
NetManager
.
ins
.
imgUrl
((
success
)
=>
{
const
data
=
DataManager
.
ins
.
getData
(
'imgURL'
);
r
(
data
)
r
(
data
.
data
)
},
base64
);
})
}
...
...
egret/src/shareCtrl.ts
View file @
0ac3fc86
...
...
@@ -25,7 +25,7 @@ class Share2 extends ComponentBase {
const
base64
=
getPrintScreenData
(
this
[
'pic'
],
0
,
0
,
579
,
866
);
NetManager
.
ins
.
imgUrl
((
success
)
=>
{
const
data
=
DataManager
.
ins
.
getData
(
'imgURL'
);
img
.
src
=
data
;
img
.
src
=
data
.
data
;
},
base64
);
}
...
...
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