简介 Introduction 封装了一些 js 常用工具函数 使用 usePattern 可以获取常用正则 useValidate 进行校验 import { useValidate, usePattern } from 'zero-tool'; console.log(useValidate('email', '123asa@1.com')); console.log(usePattern('car'));