Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b6449277
authored
Dec 17, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
加上录音
1 parent
c49af48c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
pages/equity/index.vue
pages/equity/index.vue
View file @
b644927
...
@@ -249,17 +249,17 @@ export default {
...
@@ -249,17 +249,17 @@ export default {
uni
.
showLoading
({
uni
.
showLoading
({
mask
:
true
mask
:
true
})
})
//
const result = await this.$permision.requestAndroidPermission('android.permission.RECORD_AUDIO')
const
result
=
await
this
.
$permision
.
requestAndroidPermission
(
'android.permission.RECORD_AUDIO'
)
//
if (result !== 1) {
if
(
result
!==
1
)
{
//
uni.showToast({
uni
.
showToast
({
//
title: '为了记录语音通话,请打开录音权限',
title
:
'为了记录语音通话,请打开录音权限'
,
//
icon: 'none'
icon
:
'none'
//
})
})
//
return
return
//
}
}
this
.
getSoure
()
this
.
getSoure
()
this
.
clearHistory
()
this
.
clearHistory
()
//
this.$refs.home.startAudio()
this
.
$refs
.
home
.
startAudio
()
this
.
id
=
this
.
moduleList
[
0
].
id
this
.
id
=
this
.
moduleList
[
0
].
id
this
.
type
=
'edit'
this
.
type
=
'edit'
this
.
recording
=
true
this
.
recording
=
true
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment