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

Skip to content

Commit 07e1fc4

Browse files
committed
demo: update [email protected]
1 parent ba8eb55 commit 07e1fc4

File tree

3 files changed

+166
-8
lines changed

3 files changed

+166
-8
lines changed

demos/with-react-vite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"dependencies": {
1313
"classnames": "^2.5.1",
14-
"ezuikit-js": "^8.1.1",
14+
"ezuikit-js": "^8.1.2",
1515
"react": "^18.2.0",
1616
"react-dom": "^18.2.0"
1717
},

demos/with-react-vite/pnpm-lock.yaml

Lines changed: 160 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/with-react-vite/src/Player.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ const Player = () => {
5353
// https://open.ys7.com/help/1772?h=domain
5454
// domain默认是 https://open.ys7.com, 如果是私有化部署或海外的环境,请配置对应的domain
5555
// The default domain is https://open.ys7.com If it is a private deployment or overseas (outside of China) environment, please configure the corresponding domain
56-
domain // "https://open.ys7.com"
56+
domain, // "https://open.ys7.com"
5757
},
58-
plugin: ["talk"] // 加载插件,talk-对讲
58+
plugin: ["talk"], // 加载插件,talk-对讲
5959
});
6060
}
6161
}, []);
@@ -149,7 +149,9 @@ const Player = () => {
149149
return (
150150
<div className="player-wrapper">
151151
<h2>ezopen使用示例 (Example of using ezopen):</h2>
152-
<div id="player-container"></div>
152+
<div>
153+
<div id="player-container"></div>
154+
</div>
153155
<div className="form">
154156
<div className="form-item">
155157
<label>url</label>

0 commit comments

Comments
 (0)