-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
omi-mp对is解析出错 #220
Comments
is="{{configData._comName=='pintuanlist'?'discountlist':configData._comName}}" |
下午看下 |
wxml <view class="container">
<view class="usermotto" is="{{configData._comName=='pintuanlist'?'discountlist':configData._comName}}">
<text class="user-motto">{{motto}}</text>
</view>
</view> ���译后: function render() {
const { configData,motto } = Object.assign({}, this.data, this.props)
return h('div',{'class': `container`},[h('div',{'class': `usermotto`,'is': configData._comName=='pintuanlist'?'discountlist':configData._comName},[h('span',{'class': `user-motto`},[`${motto}`])])])
} 试了下没问题。你更新下 omi-cli。你可能用了老的~~ |
应该是这句解析引起的 |
好。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: