Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
6cec88e8
Commit
6cec88e8
authored
Jun 22, 2021
by
yuananting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:去除企微环境录音调试
parent
b1ac4226
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
+1
-4
src/modules/teach-tool/components/XMRecord.jsx
+1
-4
No files found.
src/modules/teach-tool/components/XMRecord.jsx
View file @
6cec88e8
...
...
@@ -2,7 +2,7 @@
* @Author: 吴文洁
* @Date: 2020-03-18 10:01:28
* @LastEditors: fusanqiasng
* @LastEditTime: 2021-06-22 1
6:52:13
* @LastEditTime: 2021-06-22 1
7:01:05
* @Description: 录音组件
*/
...
...
@@ -12,8 +12,6 @@ import { Button, Modal } from 'antd';
import
UploadOss
from
'@/core/upload'
;
import
{
RECORD_ERROR
}
from
'@/common/constants/academic'
;
import
AudioRecorder
from
'../components/audioRecord'
;
import
Platform
from
'@/core/platform'
;
import
WechatApi
from
'@/common/js/wechatApi'
;
import
'./XMRecord.less'
;
...
...
@@ -35,7 +33,6 @@ class XMRecord extends Component {
componentDidMount
()
{
// 获取录音设备
this
.
getAudioRecorderDevice
();
WechatApi
.
initConfig
({
isAgentConfig
:
false
,
url
:
window
.
location
.
href
.
split
(
'#'
)[
0
]
});
}
componentWillUnmount
()
{}
...
...
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