mirror of
https://github.com/jiangteng2019/satellite-track.git
synced 2025-06-16 14:58:19 +00:00
fix(SatelliteTrack.vue): 修复选择状态一致性问题
This commit is contained in:
parent
b1d5cdbb77
commit
7f7adb6c82
BIN
docs/assets/gaode-f7b7d59f.jpg
Normal file
BIN
docs/assets/gaode-f7b7d59f.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 54 KiB |
File diff suppressed because one or more lines are too long
@ -6,7 +6,7 @@
|
||||
<link rel="icon" href="/satellite-track/favicon.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>satellite-track</title>
|
||||
<script type="module" crossorigin src="/satellite-track/assets/index-6f382a78.js"></script>
|
||||
<script type="module" crossorigin src="/satellite-track/assets/index-07f46f3f.js"></script>
|
||||
<link rel="stylesheet" href="/satellite-track/assets/index-71dd84b6.css">
|
||||
</head>
|
||||
|
||||
|
@ -27,6 +27,7 @@ import { getTleDataFromExternal } from '@/http/index'
|
||||
import SatelliteEntity from '@/js/SatelliteEntity';
|
||||
import { specialSatellite, weatherSatellite, communicationSatellite, navigationSatellite, scientificSatellite, miscellaneousSatellite } from "./satelliteType"
|
||||
import { compareArrays } from '@/utils';
|
||||
import gaodeImage from "@/assets/gaode.jpg"
|
||||
|
||||
const allSatellite = [...specialSatellite, ...weatherSatellite, ...communicationSatellite, ...navigationSatellite, ...scientificSatellite, ...miscellaneousSatellite];
|
||||
|
||||
@ -40,7 +41,7 @@ const satelliteMap = new Map();
|
||||
// 响应式数据
|
||||
const drawer = ref(false);
|
||||
// 默认勾选
|
||||
const checked = ref(["last-30-days"]);
|
||||
const checked = ref([]);
|
||||
// TLE缓存
|
||||
const tleCache = new Map();
|
||||
|
||||
@ -73,7 +74,7 @@ function initCesium() {
|
||||
|
||||
const customLayerViewModel = new Cesium.ProviderViewModel({
|
||||
name: '高德地图',
|
||||
iconUrl: '/src/assets/gaode.jpg',
|
||||
iconUrl: gaodeImage,
|
||||
tooltip: '高德地图',
|
||||
category: 'Cesium ion', // 或 'Other 、Cesium ion'、'Bing Maps' 等
|
||||
creationFunction: function () {
|
||||
|
Loading…
Reference in New Issue
Block a user