# 关闭当前标签页

const { close: closeTab } = useTabs();
closeTab();

# BasicForm进行表单验证

// 引入validate方法
const [registerForm, { setFieldsValue, setProps, getFieldsValue, validate }] = useForm({
    labelWidth: 150,
    schemas: getBpmFormSchema(formData),
    showActionButtonGroup: false,
    baseColProps: { span: 8 },
});

await validate();

# 字典翻译

import { getDictItemsByCode } from "@/utils/dict/index";
import { filterDictText } from "@/utils/dict/JDictSelectUtil";

const coverFileType = getDictItemsByCode('cover_file_type');
filterDictText(coverFileType, item.type)

# To Be Continued!😎

Last Updated: 5/31/2024, 9:27:34 AM