调整更新的内容

master
tangwenkang 2023-12-06 16:57:23 +08:00
parent 227b86ae98
commit d184368125
2 changed files with 4 additions and 4 deletions

View File

@ -251,7 +251,7 @@ export default {
dialogVisible:false, dialogVisible:false,
dialogVisibleTwo:false, dialogVisibleTwo:false,
fences:[], fences:[],
duration:2000, // duration:2000,
AMap: null, AMap: null,
map: null, map: null,
marker: null, marker: null,
@ -466,7 +466,7 @@ export default {
console.log('开始回放') console.log('开始回放')
this.marker.moveAlong(this.lineArr, { this.marker.moveAlong(this.lineArr, {
// //
duration: this.duration,// // duration: this.duration,//
// JSAPI2.0 moveAlong // JSAPI2.0 moveAlong
autoRotation: true, autoRotation: true,
}); });

View File

@ -7,7 +7,7 @@ export default {
props: {}, props: {},
data() { data() {
return{ return{
duration:2000, // duration:2000,
AMap: null, AMap: null,
map: null, map: null,
historyList:[], historyList:[],
@ -138,7 +138,7 @@ export default {
console.log('开始回放') console.log('开始回放')
this.marker.moveAlong(this.lineArr, { this.marker.moveAlong(this.lineArr, {
// //
duration: this.duration,// // duration: this.duration,//
// JSAPI2.0 moveAlong // JSAPI2.0 moveAlong
autoRotation: true, autoRotation: true,
}); });