回显抖动
This commit is contained in:
+3
-3
@@ -376,8 +376,8 @@ this.$forceUpdate()
|
||||
}
|
||||
getAction('/ota/otaBaSjSjyxpg/queryByOtaId',{otaIdT:otaIdT,otaId:otaId}).then(res=>{
|
||||
if(res.code==200){
|
||||
if(res.result.zxsj==0){
|
||||
res.result.zxsj=null
|
||||
if(res.result.zxsj==null){
|
||||
res.result.zxsj=undefined
|
||||
}
|
||||
this.form=res.result==null ? {
|
||||
sjmd:'',
|
||||
@@ -400,7 +400,7 @@ this.$forceUpdate()
|
||||
}
|
||||
this.form.otaId=otaId
|
||||
if(this.form.zxsj==undefined){
|
||||
this.form.zxsj=0
|
||||
this.form.zxsj=undefined
|
||||
}
|
||||
postAction('/ota/otaBaSjSjyxpg/add',this.form).then(res=>{
|
||||
if(res.code==200){
|
||||
|
||||
Reference in New Issue
Block a user