diff --git a/src/views/home.vue b/src/views/home.vue index 828e0cd..0242ccb 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -240,7 +240,7 @@ import { } from '@/utils/common' import { loadVectorLayer } from '@/utils/vector-layer-utils' import { ColorGenerator } from '@/utils/color-generator'; -import { handleWheel } from "@/utils/mapbox-utils"; +import { handleWheel, initSprites } from "@/utils/mapbox-utils"; const Cesium = window.Cesium @@ -415,6 +415,7 @@ export default { Vue.config.maps["home"] = map; handleWheel("home"); + initSprites("home") map.on('load', () => { // 加载海岸线