🐛 fix(admin): Modify the label type in the rule form to a string array

This commit is contained in:
web@ppanel 2025-04-02 11:52:38 +07:00
parent 64cd842926
commit a7aa5fee3e

View File

@ -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(''),
});