Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 245b939

Browse files
committed
[CHG]更新对讲模块使用指南
1 parent c8b05da commit 245b939

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,12 @@ UIKit JavaScript是用于WEB端,移动H5端的JavaScript插件,使用UIKit J
141141
width: 1200, // 宽度高度为容器规格,将按照窗口数均分
142142
height: 800,
143143
splitBasis: 2 //设置窗口切割参数
144-
});
145-
```
146-
## 六、<a name="talk">对讲模块</a>
144+
});```
145+
## 六、对讲模块
146+
147147
- 初始化
148-
```
149-
function onMessage(message){ // 定义对讲事件回调
148+
```
149+
function onMessage(message) { // 定义对讲事件回调
150150
console.log("事件回调", message);
151151
}
152152
function onError(error) { // 定义对讲错误回调
@@ -158,8 +158,8 @@ UIKit JavaScript是用于WEB端,移动H5端的JavaScript插件,使用UIKit J
158158
filePath: '{{**/ezuikit-talk.js}}',
159159
onMessage: onMessage,
160160
onError: onError,
161-
});
162-
```
161+
}); ```
162+
163163
- 开始对讲
164164
```
165165
EZUITalk.startTalk();

0 commit comments

Comments
 (0)