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

开发环境下taro ui组件无法在小程序开发者工具中渲染 #1784

Closed
wojiaoshupian opened this issue Apr 26, 2024 · 2 comments
Closed

Comments

@wojiaoshupian
Copy link

问题描述
taro3使用taro ui然后在微信开发者工具编译的时候组件无法渲染出来

复现步骤
1.yarn run dev:weapp
2.微信开发者工具编译

      <AtForm onSubmit={onSubmit} onReset={onReset}>
        <AtInput
          name='value'
          title='文本'
          type='text'
          placeholder='单行文本'
          value={value}
          onChange={handleChange}
        />
        <AtButton formType='submit'>提交</AtButton>
        <AtButton formType='reset'>重置</AtButton>
      </AtForm>

期望行为

能正常渲染组件
报错信息

image

系统信息

补充信息

当我使用yarn run build:weapp就能正常渲染 因为生产环境默认开启了压缩 而开发环境没有.

Copy link

taro-ui-bot bot commented Apr 26, 2024

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@robinv8
Copy link
Member

robinv8 commented May 6, 2024

根据 #1726 排查一下

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

No branches or pull requests

2 participants