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
20766595
Commit
20766595
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
0a8eff49
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
hlsUtil.md
angular/hlsUtil.md
+15
-1
No files found.
angular/hlsUtil.md
View file @
20766595
...
...
@@ -194,7 +194,7 @@ vm.showSheet = function () {
- `maxCount`:选择图片的最大数量默认为10
- 参数2`(成功回调函数 function)` 回调函数返回图片的地址
- 参数3`(失败回调函数 function)` 返回具体错误
-调用实例如下
-
调用实例如下
```
javascript
vm.takePicture = function () {
var obj = {
...
...
@@ -216,6 +216,20 @@ vm.showSheet = function () {
}
```
-
相册回调函数返回图片的选中存储地址是数组形式的返回
-
循环返回结果调用base64方法转成base64
##### 14.文件预览 `file_view`
-
文件预览需配合中台才能实现,目前实现方式仅仅为Linux服务器,windows的正在寻求方法。
-
文件预览支持Office全家桶
-
参数
`(对象)`
-
参数
`file_path`
目标文件地址
-
参数
`file_type`
文件类型 需带上
`.`
如
`.docx`
...
...
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