【fix ESLint】src/components/jero/JModal

This commit is contained in:
zhaoxiao
2023-03-03 11:11:44 +08:00
parent dca17f5e6e
commit afe97efaa1
3 changed files with 5 additions and 5 deletions
@@ -227,8 +227,8 @@ export default {
}
&.no-title{
.ant-modal-header {
padding: 0px 24px;
border-bottom: 0px !important;
padding: 0 24px;
border-bottom: 0 !important;
}
}
}
@@ -67,7 +67,7 @@ export default {
},
onOk () {
this.$refs.form.validate((ok, err) => {
this.$refs.form.validate((ok) => {
if (ok) {
const event = { value: this.model.input, target: this }
// 异步方法优先级高于同步方法
@@ -226,8 +226,8 @@ export default {
}
&.no-title{
.ant-modal-header {
padding: 0px 24px;
border-bottom: 0px !important;
padding: 0 24px;
border-bottom: 0 !important;
}
}
}