-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
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
Feat rn component common style #1645
Conversation
…idi/mpx into feat-rn-component-common-style
Feat lyf pickerview
packages/webpack-plugin/lib/runtime/components/react/mpx-view.tsx
Outdated
Show resolved
Hide resolved
@@ -2254,7 +2254,7 @@ function processBuiltInComponents (el, meta) { | |||
const tag = el.tag | |||
if (!meta.builtInComponentsMap[tag]) { | |||
if (isReact(mode)) { | |||
meta.builtInComponentsMap[tag] = `${builtInComponentsPrefix}/react/dist/${tag}` | |||
meta.builtInComponentsMap[tag] = `${builtInComponentsPrefix}/react/${tag}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
路径有点问题
'vertical', | ||
'previous-margin', | ||
'next-margin', | ||
'enable-var', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'enable-var', 'external-var-context'不需要传
parentWidth, | ||
parentHeight | ||
} = props | ||
const styleObj = JSON.parse(JSON.stringify(style || '')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
需要 JSON.parse(JSON.stringify())吗
…idi/mpx into feat-rn-component-common-style
…into feat-rn-component-common-style
No description provided.