ota修改

This commit is contained in:
高嵩
2023-05-18 18:03:26 +08:00
parent 5aaa2c6a7f
commit 3e539b6cf7
2 changed files with 14 additions and 8 deletions
@@ -392,10 +392,13 @@ export default {
},
update(val) {
this.$forceUpdate()
localStorage.removeItem('otaId')
localStorage.removeItem('otaIdT')
localStorage.setItem('otaIdT', val)
this.getData('qiehuan')
if(value != undefined){
localStorage.removeItem('otaId')
localStorage.removeItem('otaIdT')
localStorage.setItem('otaIdT', val)
this.getData('qiehuan')
}
},
update2() {
this.$forceUpdate()
@@ -296,11 +296,14 @@ export default {
},
methods: {
changeId(value,option){
localStorage.removeItem('otaId')
localStorage.removeItem('otaIdT')
localStorage.setItem('otaIdT',value)
if(value != undefined){
localStorage.removeItem('otaId')
localStorage.removeItem('otaIdT')
localStorage.setItem('otaIdT',value)
this.getData('qiehuan')
}
this.getData('qiehuan')
},
// 模板下载
handleModule() {