The Wayback Machine - https://web.archive.org/web/20201220020200/https://github.com/topics/taro
Skip to content
#

taro

Here are 294 public repositories matching this topic...

ilzhi
ilzhi commented Aug 12, 2020

相关平台

微信小程序

复现仓库

https://github.com/li-z/taro-bug
小程序基础库: 2.12.0
使用框架: React

复现步骤

运行项目后点击跳转到详情页,然后返回首页。然后触发子组件的 onClick 事件时,回调函数却还是详情页的函数。去掉id属性后正常。

期望结果

有无id属性都应正常

实际结果

有id属性异常

环境信息

Taro CLI 3.0.7 environment info:
    System:
      OS: macOS
cloudbase-framework
binggg
binggg commented Jul 24, 2020

Is your feature request related to a problem? Please describe.

支持自动检测框架的覆盖范围仅仅支持了几个常见前端框架和函数,还可以拓展更多的框架和语言来提升体验

这块的实现是基于配置式的,可以比较轻松拓展一个新框架的支持
https://github.com/TencentCloudBase/cloudbase-framework/blob/master/packages/framework-core/src/detect-frameworks/frameworks.ts

大家可以通过这个快速参与进核心代码的开发当中,目前可以考虑支持的框架和技术有 Hexo, Egg, Koa, Express, Koa , Docker 容器等

  • Vue
  • React
  • V

Improve this page

Add a description, image, and links to the taro topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the taro topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.