Skip to content
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

导出为uniapp之后运行报错:class 不支持 utils.bem('field__body',[type]) 语法等语法不支持 #8

Open
hu-qi opened this issue Nov 19, 2020 · 1 comment

Comments

@hu-qi
Copy link

hu-qi commented Nov 19, 2020

image

估计是语法特性上的兼容问题,目前发现:

  1. :class 不支持 utils.bem('field__body',[type]) 语法
  2. :style 不支持 computed.inputStyle(autosize) 语法
  3. :class 不支持 utils.bem('field__word-num',{full:value.length>=maxlength}) 语法
  4. :class 不支持 utils.bem('field__error-message',[errorMessageAlign,{disabled:disabled,error:error}]) 语法
  5. :style 不支持 computed.containerStyle({fixed:fixed,height:height,zIndex:zIndex}) 语法
  6. :class 不支持 utils.bem('sticky-wrap',{fixed:fixed}) 语法
  7. :style 不支持 computed.wrapStyle({fixed:fixed,offsetTop:offsetTop,transform:transform,zIndex:zIndex}) 语法

不过微信原生小程序正常

@JinYaHao
Copy link

JinYaHao commented Nov 9, 2021

楼主,解决了吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants