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
10ea5180
Commit
10ea5180
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
b297823f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
hlsUtil.md
angular/hlsUtil.md
+2
-2
No files found.
angular/hlsUtil.md
View file @
10ea5180
...
...
@@ -113,7 +113,7 @@ APP开发会出现很多功能相同的函数和组件,现封装了很多公
![](/img/callPhone.PNG)
#####
8
.操作表 `
showSheet
`
#####
9
.操作表 `
showSheet
`
- 参数1`
(
sheet
标题
)
`
- 参数2 `
(
操作列表
)
数组形式
`如`
[
'拍照'
,
'从相册选择'
]
`
- 参数3 回调函数 function 回调函数返回操作列表的`
index
`可自行根据返回值进行其他操作
...
...
@@ -131,7 +131,7 @@ vm.showSheet = function () {
![](/img/ionicSheet.PNG)
#####
8
.图片转成base64 `getImageToBase64`
#####
10
.图片转成base64 `getImageToBase64`
- 参数为`( 图片地址,回调函数 )` ** 第二个参数为回调函数 **
- 在回调函数中`( 返回图片的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