You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
点击src/index/index.jsx
输入npm run dev:weapp
在微信开发者工具打开相应目录,并且运行
出现搜索栏但是点击无反应,onActionclick函数也没反应
期望结果
点击后有反应,右侧按钮滑出
实际结果
无反应,或直接不出现搜索栏,报错
页面【pages/index/index]错误:
TypeError: Super expression must either be null or a function
at _inherits (.node_modules@babel_runtime_helpers_esm_inherits.js:4)
at ._src_pages_index_index.jsx:3
at Object../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/index/index.jsx (._src_pages_index_index.jsx:22)
at webpack_require (webpack_bootstrap:19)
at Object../src/pages/index/index.jsx (._src_pages_index_index.jsx:22)
at webpack_require (webpack_bootstrap:19)
at webpack_exec (.node_modules@babel_runtime_helpers_esm_typeof.js:9)
at .node_modules@babel_runtime_helpers_esm_typeof.js:9
at Function.webpack_require.O (webpack_runtime_chunk loaded:25)
at .node_modules@babel_runtime_helpers_esm_typeof.js:9(env: Windows,mp,1.06.2303220; lib: 2.32.1)
相关平台
微信小程序
复现仓库
https://github.com/Constantine-Marx/taroissue.git
小程序基础库: 2.32.1
使用框架: React
复现步骤
点击src/index/index.jsx
输入npm run dev:weapp
在微信开发者工具打开相应目录,并且运行
出现搜索栏但是点击无反应,onActionclick函数也没反应
期望结果
点击后有反应,右侧按钮滑出
实际结果
无反应,或直接不出现搜索栏,报错
页面【pages/index/index]错误:
TypeError: Super expression must either be null or a function
at _inherits (.node_modules@babel_runtime_helpers_esm_inherits.js:4)
at ._src_pages_index_index.jsx:3
at Object../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/index/index.jsx (._src_pages_index_index.jsx:22)
at webpack_require (webpack_bootstrap:19)
at Object../src/pages/index/index.jsx (._src_pages_index_index.jsx:22)
at webpack_require (webpack_bootstrap:19)
at webpack_exec (.node_modules@babel_runtime_helpers_esm_typeof.js:9)
at .node_modules@babel_runtime_helpers_esm_typeof.js:9
at Function.webpack_require.O (webpack_runtime_chunk loaded:25)
at .node_modules@babel_runtime_helpers_esm_typeof.js:9(env: Windows,mp,1.06.2303220; lib: 2.32.1)
环境信息
补充信息
重装微信开发者工具,并且新建了一个taro项目后成功运行过一次,但后来运行其他文件时又不行了
The text was updated successfully, but these errors were encountered: