Skip to content

Commit

Permalink
refactor: ♻️ updated
Browse files Browse the repository at this point in the history
  • Loading branch information
zouyaoji committed Jun 6, 2023
1 parent 98319aa commit 53d5df8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export default function (props, { emit }, vcInstance: VcComponentInternalInstanc

// methods
const handleZoomInMouseDown = e => {
console.log('handleZoomInMouseDown')
const { defined, getTimestamp, SceneMode, ScreenSpaceEventType } = Cesium
const { viewer } = $services
$(zoomInTooltipRef)?.hide()
Expand Down
1 change: 0 additions & 1 deletion packages/components/overlays/heatmap/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@ export default defineComponent({
}

const setData = (data, heatmapInstance: h337.Heatmap<string, string, string>) => {
console.log('setData')
if (data) {
const { height, xoffset, yoffset, factor, spacing } = config.value
const xField = options.value.xField || 'x'
Expand Down
3 changes: 1 addition & 2 deletions packages/composables/use-providers/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* @Author: zouyaoji@https://github.com/zouyaoji
* @Date: 2021-06-01 18:06:23
* @LastEditTime: 2023-04-13 22:34:01
* @LastEditTime: 2023-06-07 01:37:05
* @LastEditors: zouyaoji [email protected]
* @Description:
* @FilePath: \vue-cesium\packages\composables\use-providers\index.ts
Expand Down Expand Up @@ -30,7 +30,6 @@ export default function (props, ctx: SetupContext<ProviderEmits>, vcInstance: Vc
const options = commonState.transformProps(props)

if (compareCesiumVersion(Cesium.VERSION, '1.104') && typeof Cesium[vcInstance.cesiumClass].fromUrl === 'function') {
console.log(options)
return await Cesium[vcInstance.cesiumClass].fromUrl(options.url, options)
} else {
return new Cesium[vcInstance.cesiumClass](options)
Expand Down

0 comments on commit 53d5df8

Please sign in to comment.