This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
OpenSource
/
dc-sdk
mirror of
https://github.com/dvt3d/dc-sdk
Watch
4
Star
0
Fork
0
Code
Issues
0
Releases
92
Wiki
Activity
Browse Source
Update README_zh.md
tags/3.0.1
Caven Chen
2 years ago
parent
5e6cbd7184
commit
5f23c2e7dd
No account linked to committer's email address
1 changed files
with
2 additions
and
4 deletions
Split View
Show Diff Stats
2
4
README_zh.md
+ 2
- 4
README_zh.md
View File
@@ -153,10 +153,8 @@ module.exports = {
## 开始
```js
global.DC = DC
DC.use(DcCore) // Node 方式
DC.ready(() => {
let viewer = new DC.Viewer(divId) // divId 为一个div节点的Id属性值,如果不传入,会无法初始化3D场景
DC.ready().then(() => {
let viewer = new DC.Viewer(divId)
})
```
Write
Preview
Loading…
Cancel
Save