【fix ESLint】src/components/jero/JModal
This commit is contained in:
@@ -227,8 +227,8 @@ export default {
|
|||||||
}
|
}
|
||||||
&.no-title{
|
&.no-title{
|
||||||
.ant-modal-header {
|
.ant-modal-header {
|
||||||
padding: 0px 24px;
|
padding: 0 24px;
|
||||||
border-bottom: 0px !important;
|
border-bottom: 0 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
onOk () {
|
onOk () {
|
||||||
this.$refs.form.validate((ok, err) => {
|
this.$refs.form.validate((ok) => {
|
||||||
if (ok) {
|
if (ok) {
|
||||||
const event = { value: this.model.input, target: this }
|
const event = { value: this.model.input, target: this }
|
||||||
// 异步方法优先级高于同步方法
|
// 异步方法优先级高于同步方法
|
||||||
|
|||||||
@@ -226,8 +226,8 @@ export default {
|
|||||||
}
|
}
|
||||||
&.no-title{
|
&.no-title{
|
||||||
.ant-modal-header {
|
.ant-modal-header {
|
||||||
padding: 0px 24px;
|
padding: 0 24px;
|
||||||
border-bottom: 0px !important;
|
border-bottom: 0 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user