Closed iamphc closed 9 months ago
问题描述 using AtButton component in weapp page, got "Cannot set property 'props' of undefined".
复现步骤 1、use taro to create a miniapp 2、create a page 3、page code below:
<template> <view> <AtButton>123</AtButton> </view> </template> <script lang="ts" name="News" setup> import { AtButton } from "taro-ui"; </script>
4、console got Cannot set property 'props' of undefined
期望行为 show AtButton without error
报错信息 Cannot set property 'props' of undefined
系统信息
ps:
欢迎提交 Issue~
如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏
如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。
Good luck and happy coding~
taro-ui 只支持 react 语法
问题描述 using AtButton component in weapp page, got "Cannot set property 'props' of undefined".
复现步骤 1、use taro to create a miniapp 2、create a page 3、page code below:
4、console got Cannot set property 'props' of undefined
期望行为 show AtButton without error
报错信息 Cannot set property 'props' of undefined
系统信息
ps: