Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
app
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
hel-guide
app
Commits
a7019bb5
Commit
a7019bb5
authored
Sep 13, 2017
by
JingChao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates angular/hlsUtil.md
Auto commit by GitBook Editor
parent
d9d25874
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
hlsUtil.md
angular/hlsUtil.md
+1
-1
No files found.
angular/hlsUtil.md
View file @
a7019bb5
...
@@ -134,7 +134,7 @@ vm.showSheet = function () {
...
@@ -134,7 +134,7 @@ vm.showSheet = function () {
##### 10.图片转成base64 `getImageToBase64`
##### 10.图片转成base64 `getImageToBase64`
- 参数1`( 图片地址)`
- 参数1`( 图片地址)`
- 参数2`(回调函数 function)`回调函数返回图片的Base64位
- 参数2`(回调函数 function)`回调函数返回图片的Base64位
- 图片不宜过大建议大小2000X1000
- 图片不宜过大建议大小2000X1000
因为手机性能不同超过这个大小部分手机会出现假死现象
- 调用实例如下
- 调用实例如下
```
javascript
```
javascript
...
...
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