Commit 6cec88e8 by yuananting

fix:去除企微环境录音调试

parent b1ac4226
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 吴文洁 * @Author: 吴文洁
* @Date: 2020-03-18 10:01:28 * @Date: 2020-03-18 10:01:28
* @LastEditors: fusanqiasng * @LastEditors: fusanqiasng
* @LastEditTime: 2021-06-22 16:52:13 * @LastEditTime: 2021-06-22 17:01:05
* @Description: 录音组件 * @Description: 录音组件
*/ */
...@@ -12,8 +12,6 @@ import { Button, Modal } from 'antd'; ...@@ -12,8 +12,6 @@ import { Button, Modal } from 'antd';
import UploadOss from '@/core/upload'; import UploadOss from '@/core/upload';
import { RECORD_ERROR } from '@/common/constants/academic'; import { RECORD_ERROR } from '@/common/constants/academic';
import AudioRecorder from '../components/audioRecord'; import AudioRecorder from '../components/audioRecord';
import Platform from '@/core/platform';
import WechatApi from '@/common/js/wechatApi';
import './XMRecord.less'; import './XMRecord.less';
...@@ -35,7 +33,6 @@ class XMRecord extends Component { ...@@ -35,7 +33,6 @@ class XMRecord extends Component {
componentDidMount() { componentDidMount() {
// 获取录音设备 // 获取录音设备
this.getAudioRecorderDevice(); this.getAudioRecorderDevice();
WechatApi.initConfig({ isAgentConfig: false, url: window.location.href.split('#')[0] });
} }
componentWillUnmount() {} componentWillUnmount() {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment