File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -145,29 +145,28 @@ UIKit JavaScript是用于WEB端,移动H5端的JavaScript插件,使用UIKit J
145145## 六、对讲模块
146146
147147 - 初始化
148- ```
149- function onMessage(message) { // 定义对讲事件回调
148+ ```
149+ function onMessage(message) {
150150 console.log("事件回调", message);
151151 }
152- function onError(error) { // 定义对讲错误回调
152+ function onError(error) {
153153 console.log("错误事件回调",error);
154154 }
155155 var EZUITalk = new EZUITalk({
156- accessToken: "at.8o2k6dbpcvtr13reaa96hbnya6 ************* c ",
156+ accessToken: "at.8o2k6dbpcvtr13reaa96hbnya6c ",
157157 url: {{url}},
158158 filePath: '{{**/ezuikit-talk.js}}',
159159 onMessage: onMessage,
160160 onError: onError,
161- }); ```
161+ });
162+ ```
162163
163164 - 开始对讲
164- ```
165- EZUITalk.startTalk();
166- ```
165+
166+ `EZUITalk.startTalk();`
167167 - 结束对讲
168- ```
169- EZUITalk.startTalk();
170- ```
168+
169+ `EZUITalk.startTalk();`
171170 ### 消息列表(onMessage返回值)
172171
173172 消息码|消息内容|消息体
You can’t perform that action at this time.
0 commit comments