|
@@ -57,13 +57,13 @@ export default {
|
|
|
let url = ''
|
|
|
if(!useOld){
|
|
|
url = `/api/ptz/c/${this.deviceId}/${this.channelId}/`
|
|
|
- url+=`?c=${command}&step=${step*this.stepValue}`
|
|
|
+ url+=`?c=${command}&step=0`
|
|
|
}else {
|
|
|
url = `/api/ptz/control/${this.deviceId}/${this.channelId}/`
|
|
|
url+=`?command=${command}`
|
|
|
url+=`&horizonSpeed=${this.controlSpeed}`
|
|
|
url+=`&verticalSpeed=${this.controlSpeed}`
|
|
|
- url+=`&zoomSpeed=${this.zoomSpeed}`
|
|
|
+ url+=`&zoomSpeed=0`
|
|
|
}
|
|
|
console.log(url);
|
|
|
let [err,res] = await handle(this.$axios.axios({
|