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
BUG 描述 按代码命名规范在本地json中书写驼峰属性,无法正常读取(根本没过来?)
json
复现步骤
<!-- html --> <mip-json> <script type="application/json"> { "mipProps": "mipProps", "mip-components": "mip-components" } </script> </mip-json>
// components export default { props: { mipProps: { type: String, default: '' }, mipComponents: { type: String, default: '' } }, mounted () { console.log(this.mipProps) // 空 console.log(this.mipComponents) // mip-components } }
驼峰属性无法打印,连字符正常
环境及版本信息:
The text was updated successfully, but these errors were encountered:
fixed:unify camelCase props & hyphenate props #59
eb17d88
huanghuiquan
zoumiaojiang
No branches or pull requests
BUG 描述
按代码命名规范在本地
json
中书写驼峰属性,无法正常读取(根本没过来?)复现步骤
驼峰属性无法打印,连字符正常
环境及版本信息:
The text was updated successfully, but these errors were encountered: