dom
<el-form-item label=":" :label-width="formLabelWidth" prop="email">
<el-input :disabled="emailDis" v-model="sideForm.email" auto-complete="off" placeholder=""></el-input>
<span class="textDescr"></span>
</el-form-item>
data{
return {
emailDis:true,
sideForm:{
email
}
}
}
mounted:function(){
http.get("user/detail").then(function(res) {
if (res.email == "") {
this.emailDis = false;
}
});
}
is there a problem with my writing like this? It"s right locally. This error will be reported on the test server. Excuse me, what"s going on? thank you for waiting online.