Pārlūkot izejas kodu

修改无法获取图的问题

tags/1.6.2
Caven Chen pirms 5 gadiem
vecāks
revīzija
c7d420f16c
6 mainītis faili ar 13 papildinājumiem un 7 dzēšanām
  1. 6
    0
      CHANGE.md
  2. 1
    1
      dist/dc.base.min.js
  3. 1
    1
      dist/dc.core.min.js
  4. 1
    1
      package.json
  5. 2
    2
      src/base/index.js
  6. 2
    2
      src/core/viewer/Viewer.js

+ 6
- 0
CHANGE.md Parādīt failu

# 更新 # 更新


## 1.6.2

### 2020-5-25

> 1. 修改无法获取图的问题

## 1.6.1 ## 1.6.1


### 2020-5-19 ### 2020-5-19

+ 1
- 1
dist/dc.base.min.js
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


+ 1
- 1
dist/dc.core.min.js
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


+ 1
- 1
package.json Parādīt failu

{ {
"name": "@dvgis/dc-sdk", "name": "@dvgis/dc-sdk",
"version": "1.6.1",
"version": "1.6.2",
"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.", "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", "main": "index.js",
"repository": "https://github.com/Digital-Visual/dc-sdk.git", "repository": "https://github.com/Digital-Visual/dc-sdk.git",

+ 2
- 2
src/base/index.js Parādīt failu

* @Author: Caven * @Author: Caven
* @Date: 2020-04-22 09:44:30 * @Date: 2020-04-22 09:44:30
* @Last Modified by: Caven * @Last Modified by: Caven
* @Last Modified time: 2020-05-19 22:02:26
* @Last Modified time: 2020-05-25 09:20:03
*/ */


import { initMixin, initUse } from './global-api' import { initMixin, initUse } from './global-api'
Author: 'Caven Chen', Author: 'Caven Chen',
GitHub: 'https://github.com/Digital-Visual', GitHub: 'https://github.com/Digital-Visual',
Home: 'https://www.dvgis.cn', Home: 'https://www.dvgis.cn',
Version: '1.6.1',
Version: '1.6.2',
Namespace: {}, Namespace: {},
Initialized: false Initialized: false
} }

+ 2
- 2
src/core/viewer/Viewer.js Parādīt failu

* @Author: Caven * @Author: Caven
* @Date: 2019-12-27 17:13:24 * @Date: 2019-12-27 17:13:24
* @Last Modified by: Caven * @Last Modified by: Caven
* @Last Modified time: 2020-05-18 13:12:54
* @Last Modified time: 2020-05-25 08:55:28
*/ */


import { import {
* *
*/ */
getLayer(id) { getLayer(id) {
let filters = this.getLayers().filter(item.id === id)
let filters = this.getLayers().filter(item => item.id === id)
return filters && filters.length ? filters[0] : undefined return filters && filters.length ? filters[0] : undefined
} }



Notiek ielāde…
Atcelt
Saglabāt