浏览代码

修改ready问题

tags/1.10.4
Caven Chen 5 年前
父节点
当前提交
9218af9748
共有 4 个文件被更改,包括 5 次插入7 次删除
  1. 2
    2
      dist/dc.base.min.js
  2. 1
    1
      dist/dc.core.min.js
  3. 1
    1
      package.json
  4. 1
    3
      src/core/index.js

+ 2
- 2
dist/dc.base.min.js
文件差异内容过多而无法显示
查看文件


+ 1
- 1
dist/dc.core.min.js
文件差异内容过多而无法显示
查看文件


+ 1
- 1
package.json 查看文件

@@ -1,6 +1,6 @@
{
"name": "@dvgis/dc-sdk",
"version": "1.10.3",
"version": "1.10.4",
"description": " The SDK is a secondary development based on the open source project Cesium, which optimizes some operations of Cesium and enables developers to quickly develop 3D applications through the framework.",
"main": "index.js",
"repository": "https://github.com/dvgis/dc-sdk.git",

+ 1
- 3
src/core/index.js 查看文件

@@ -18,11 +18,9 @@ const install = function(DC) {
DC.ready = callback => {
try {
if (!DC.Initialized) {
new Promise((resolve, reject) => {
DC.init(() => {
require('../thirdpart')
require('./Loader')
resolve()
}).then(() => {
DC.Initialized = true
callback && callback()
})

正在加载...
取消
保存