mirror of
https://github.com/perfect-panel/ppanel-web.git
synced 2026-02-06 11:40:28 -05:00
🐛 fix(admin): Modify the label type in the rule form to a string array
This commit is contained in:
parent
64cd842926
commit
a7aa5fee3e
@ -33,7 +33,7 @@ import { z } from 'zod';
|
||||
|
||||
const formSchema = z.object({
|
||||
name: z.string().min(1, { message: '请输入规则名称' }),
|
||||
tags: z.array(z.number()).default([]),
|
||||
tags: z.array(z.string()).default([]),
|
||||
rules: z.string().default(''),
|
||||
icon: z.string().default(''),
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user