新增岗位后端有验证,前端也加上
This commit is contained in:
parent
886c971447
commit
ad248250a1
@ -5,7 +5,8 @@ const { t } = useI18n() // 国际化
|
|||||||
export const rules = reactive({
|
export const rules = reactive({
|
||||||
name: [required],
|
name: [required],
|
||||||
code: [required],
|
code: [required],
|
||||||
sort: [required]
|
sort: [required],
|
||||||
|
status: [required]
|
||||||
})
|
})
|
||||||
|
|
||||||
// 增删改查 CrudSchema 配置
|
// 增删改查 CrudSchema 配置
|
||||||
|
Loading…
Reference in New Issue
Block a user