【fix ESLint】components/jero、components/layouts、components/tools、utils、views/account/center、views/demo、views/system
This commit is contained in:
@@ -194,8 +194,7 @@ export default {
|
||||
UserRoleModal,
|
||||
SelectUserModal,
|
||||
RoleModal,
|
||||
UserModal,
|
||||
moment
|
||||
UserModal
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
|
||||
@@ -162,6 +162,7 @@ export default {
|
||||
width: '20%',
|
||||
type: FormTypes.input,
|
||||
validateRules: [
|
||||
// eslint-disable-next-line no-template-curly-in-string
|
||||
{ required: true, message: '${title}不能为空' }
|
||||
]
|
||||
},
|
||||
@@ -184,6 +185,7 @@ export default {
|
||||
width: '15%',
|
||||
type: FormTypes.inputNumber,
|
||||
validateRules: [
|
||||
// eslint-disable-next-line no-template-curly-in-string
|
||||
{ required: true, message: '${title}不能为空' },
|
||||
{ pattern: /^[1-9]\d*$/, message: '请输入零以上的正整数' }
|
||||
]
|
||||
@@ -204,6 +206,7 @@ export default {
|
||||
width: '20%',
|
||||
type: FormTypes.input,
|
||||
validateRules: [
|
||||
// eslint-disable-next-line no-template-curly-in-string
|
||||
{ required: true, message: '${title}不能为空' }
|
||||
]
|
||||
},
|
||||
|
||||
@@ -47,14 +47,12 @@ import { httpAction, getAction } from '@/api/manage'
|
||||
// import { validateDuplicateValue } from '@/utils/util'
|
||||
import JFormContainer from '@/components/jero/JFormContainer'
|
||||
import JDate from '@/components/jero/JDate'
|
||||
import JDictSelectTag from '@/components/dict/JDictSelectTag'
|
||||
|
||||
export default {
|
||||
name: 'TenantForm',
|
||||
components: {
|
||||
JFormContainer,
|
||||
JDate,
|
||||
JDictSelectTag
|
||||
JDate
|
||||
},
|
||||
props: {
|
||||
formData: {
|
||||
|
||||
Reference in New Issue
Block a user