|
@@ -137,12 +137,12 @@ export default {
|
|
},
|
|
},
|
|
async timerRefresh() {
|
|
async timerRefresh() {
|
|
try {
|
|
try {
|
|
- const response = await axios.get(`/api/platform/${this.platformID}/position`);
|
|
|
|
- if (response.data) {
|
|
|
|
- this.x = response.data.x
|
|
|
|
- this.y = response.data.y
|
|
|
|
- this.z = response.data.z
|
|
|
|
- }
|
|
|
|
|
|
+ // const response = await axios.get(`/api/platform/${this.platformID}/position`);
|
|
|
|
+ // if (response.data) {
|
|
|
|
+ // this.x = response.data.x
|
|
|
|
+ // this.y = response.data.y
|
|
|
|
+ // this.z = response.data.z
|
|
|
|
+ // }
|
|
} catch (error) {
|
|
} catch (error) {
|
|
console.error('获取雷达状态失败:', error);
|
|
console.error('获取雷达状态失败:', error);
|
|
|
|
|