大喇叭
This commit is contained in:
@@ -108,11 +108,10 @@ export default {
|
||||
},
|
||||
setVolume() {
|
||||
this.isShow = true
|
||||
this.volume = this.info.volume * 10 || 10
|
||||
this.volume = this.info.volume
|
||||
},
|
||||
confirmAdd() {
|
||||
var volume = parseInt(this.volume/10)
|
||||
this.$http.post(`/app/appdlbquipment/volumeControl?deviceId=${this.info.deviceId}&volume=${volume}`).then((res) => {
|
||||
this.$http.post(`/app/appdlbquipment/volumeControl?deviceId=${this.info.deviceId}&volume=${this.volume}`).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.getDetail()
|
||||
this.isShow = false
|
||||
|
||||
Reference in New Issue
Block a user