小程序配置页面 增加取消按钮
This commit is contained in:
parent
fc589e7f83
commit
b8366bb7b4
@ -148,6 +148,7 @@
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="submitForm('deviceForm')">提交</el-button>
|
||||
<el-button @click="resetForm('deviceForm')">取消</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<!-- </el-form>-->
|
||||
@ -262,6 +263,11 @@ export default {
|
||||
})
|
||||
}
|
||||
},
|
||||
resetForm(formName) {
|
||||
this.$refs[formName].resetFields();
|
||||
this.clean();
|
||||
this.open=false;
|
||||
},
|
||||
changeStatus(data){
|
||||
console.log(123123123)
|
||||
updateAppApi(data).then(res=>{
|
||||
|
Loading…
Reference in New Issue
Block a user