Complex Union Type is not supported.
21:32:52.401 at uni_modules/xiaoming-form/components/xiaoming-form/xiaoming-form-item.uvue:77:1
21:32:52.401 74 | const validate = (): Promise<unknown> => {
21:32:52.401 75 | return new Promise((resolve, _reject) => {
21:32:52.401 76 | const propsProp = props.prop as string;
21:32:52.402 77 | type Value = null | string[] | number[] | string;
我有个参数,可能为字符串可能为数组,就是有个属性为length的,这样怎么处理好呢
booleen (作者)
谢谢
2025-02-26 23:40