提交 84776f90 authored 作者: liujiaxing's avatar liujiaxing

注释

上级 e4d8dd38
...@@ -483,7 +483,7 @@ const isPlaying = ref(false);//true--代表正在播放,false---代表暂停 ...@@ -483,7 +483,7 @@ const isPlaying = ref(false);//true--代表正在播放,false---代表暂停
const playbackSpeed = ref(1); // 播放速度倍数 const playbackSpeed = ref(1); // 播放速度倍数
const playbackDirection = ref(1); // 1表示向前播放,-1表示向后播放 const playbackDirection = ref(1); // 1表示向前播放,-1表示向后播放
const playbackInterval = ref(null); const playbackInterval = ref(null);//时间定时器
// 新增:标识是否是带时间范围的确认操作 // 新增:标识是否是带时间范围的确认操作
const isConfirmedWithRange = ref(false); const isConfirmedWithRange = ref(false);
...@@ -989,6 +989,7 @@ const playForward = async () => { ...@@ -989,6 +989,7 @@ const playForward = async () => {
// 第二版开始播放 // 第二版开始播放
const startAutoPlay = () => { const startAutoPlay = () => {
console.log('开始播放?', !isPlaying.value); console.log('开始播放?', !isPlaying.value);
// 清除定时器
if (playbackInterval.value) { if (playbackInterval.value) {
clearInterval(playbackInterval.value); clearInterval(playbackInterval.value);
} }
......
...@@ -406,13 +406,13 @@ function searchSatelliteList() { ...@@ -406,13 +406,13 @@ function searchSatelliteList() {
} }
// 地面设备数据 // 地面设备数据
const primitiveEquipmentData = ref([ const primitiveEquipmentData = ref([])
]) //地面站设备数量
const equipmentData = ref(primitiveEquipmentData.value); const equipmentData = ref(primitiveEquipmentData.value);
const searchEquipmentValue = ref('') const searchEquipmentValue = ref('')
//回显列表数组数据 //回显列表数组数据--搜索
function searchEquipmentList() { function searchEquipmentList() {
if (activeTab.value === 'equipment') { if (activeTab.value === 'equipment') {
const filteredData = primitiveEquipmentData.value.filter(item => const filteredData = primitiveEquipmentData.value.filter(item =>
...@@ -834,7 +834,7 @@ watch(() => useAppStoreInstance.globalLeftWssCONTINE, val => { ...@@ -834,7 +834,7 @@ watch(() => useAppStoreInstance.globalLeftWssCONTINE, val => {
console.log("useAppStoreInstance.globalLeftWssCONTINE 60一次推过来", val); console.log("useAppStoreInstance.globalLeftWssCONTINE 60一次推过来", val);
const JSONdata = val const JSONdata = val
// console.log("useAppStoreInstance.globalLeftWssCONTINE", JSONdata,(JSONdata.type === 'history' && !(JSONdata?.isLagrangeInterpolation === true) ),JSONdata.type === 'realtime'); // console.log("useAppStoreInstance.globalLeftWssCONTINE", JSONdata,(JSONdata.type === 'history' && !(JSONdata?.isLagrangeInterpolation === true) ),JSONdata.type === 'realtime');
if (JSONdata.type === 'history') { if (JSONdata.type === 'history') {//历史模式
const satelliteList = [] const satelliteList = []
JSONdata.CurrData.forEach(items => { JSONdata.CurrData.forEach(items => {
...@@ -892,8 +892,7 @@ watch(() => useAppStoreInstance.globalLeftWssCONTINE, val => { ...@@ -892,8 +892,7 @@ watch(() => useAppStoreInstance.globalLeftWssCONTINE, val => {
} }
if (JSONdata.type === 'realtime') { if (JSONdata.type === 'realtime') {//实时模式
const satelliteList = [] const satelliteList = []
JSONdata.CurrData.forEach(items => { JSONdata.CurrData.forEach(items => {
const temp = items.satelliteBasicInfoResponse const temp = items.satelliteBasicInfoResponse
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论