We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@nutui/nutui-react-taro
2.7.0
weapp
无
在 useform.taro.ts 里
getFieldsValue = (nameList: NamePath[] | true): { [key: NamePath]: any } => { if (typeof nameList === 'boolean') { return JSON.parse(JSON.stringify(this.store)) } const fieldsValue: { [key: NamePath]: any } = {} nameList.forEach((field) => { fieldsValue[field] = this.getFieldValue(field) }) return fieldsValue }
当 this.store 数据为空的时候 JSON.parse(JSON.stringify(this.store)) 会报错
JSON.parse(JSON.stringify(this.store))
是不是应该在组件库里给处理下
解决报错
现在会有error报错
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
NutUI React 包名
@nutui/nutui-react-taro
NutUI React 版本号
2.7.0
平台
weapp
重现链接
无
重现步骤
在 useform.taro.ts 里
当 this.store 数据为空的时候
JSON.parse(JSON.stringify(this.store))
会报错是不是应该在组件库里给处理下
期望的结果是什么?
解决报错
实际的结果是什么?
现在会有error报错
环境信息
No response
其他补充信息
No response
The text was updated successfully, but these errors were encountered: