feat: release v1.0.0
This commit is contained in:
@@ -35,7 +35,7 @@ export const sysMenuFormSchema = z
|
||||
.object({
|
||||
id: z.number().optional(),
|
||||
name: z.string().min(1, '菜单名称不能为空').max(16, '菜单名称不能超过16个字符'),
|
||||
path: z.string().min(1, '路径不能为空'),
|
||||
path: z.string().optional(),
|
||||
component: z.string().optional(),
|
||||
hidden: z.boolean(),
|
||||
// https://www.reddit.com/r/reactjs/comments/1mmfnyt/typescript_error_when_using_zcoercenumberstring/
|
||||
|
||||
Reference in New Issue
Block a user