diff --git a/packages/remax-cli/src/build/plugins/components.ts b/packages/remax-cli/src/build/plugins/components.ts index d751d617a..48c7492af 100644 --- a/packages/remax-cli/src/build/plugins/components.ts +++ b/packages/remax-cli/src/build/plugins/components.ts @@ -53,7 +53,7 @@ export default (adapter: Adapter) => () => ({ return; } - if (id === 'picker-view-column') { + if (adapter.name === 'alipay' && id === 'picker-view-column') { return; } diff --git a/packages/remax-cli/templates/wechat/component.ejs b/packages/remax-cli/templates/wechat/component.ejs index b97950d4e..5b4d09468 100644 --- a/packages/remax-cli/templates/wechat/component.ejs +++ b/packages/remax-cli/templates/wechat/component.ejs @@ -4,7 +4,7 @@ <<%=id%> <% for(let key of props) { %> <%=key%>="{{_h.v(i.props.<%=camelCased(key)%>)}}" <% } %>> <% if (id === 'swiper') { %> - +