Open bigxigua opened 3 years ago
问题描述 "taro-ui": "^3.0.0-alpha.3"版本,在头条小程序下编译AtSwipeAction存在div标签,导致AtSwipeAction无法渲染
复现步骤 按照taro-ui官方文档组件使用步骤,进行组件的引用及使用 taro使用react编写的小程序,在字节跳动IDE里进行编译预览时,下面时我的dependencies & devDependencies "dependencies": { "@babel/runtime": "^7.7.7", "@tarojs/cli": "3.2.1", "@tarojs/components": "3.2.1", "@tarojs/react": "3.2.1", "@tarojs/runtime": "3.2.1", "@tarojs/taro": "3.2.1", "lodash": "4.17.15", "moment": "^2.29.1", "react": "^17.0.0", "react-dom": "^17.0.0", "taro-ui": "^3.0.0-alpha.3" }, "devDependencies": { "@babel/core": "^7.8.0", "@tarojs/mini-runner": "3.2.1", "@tarojs/webpack-runner": "3.2.1", "@types/webpack-env": "^1.13.6", "babel-preset-taro": "3.2.1", "eslint": "^6.8.0", "eslint-config-taro": "3.2.1", "stylelint": "9.3.0", "@types/react": "^17.0.2", "eslint-plugin-react": "^7.8.2", "eslint-plugin-import": "^2.12.0", "eslint-plugin-react-hooks": "^4.2.0" }
// 这里可以贴代码
期望行为
报错信息
系统信息 macos ,字节开发者工具信息: Version: 1.53.0 Commit: Unknown Date: Unknown Electron: 11.1.0 Chrome: 87.0.4280.88 Node.js: 12.18.3 V8: 8.7.220.29-electron.0 OS: Darwin x64 17.7.0
补充信息 编译错误了,存在了div标签~
欢迎提交 Issue~
如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏
如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。
Good luck and happy coding~
问题描述 "taro-ui": "^3.0.0-alpha.3"版本,在头条小程序下编译AtSwipeAction存在div标签,导致AtSwipeAction无法渲染
复现步骤 按照taro-ui官方文档组件使用步骤,进行组件的引用及使用 taro使用react编写的小程序,在字节跳动IDE里进行编译预览时,下面时我的dependencies & devDependencies "dependencies": { "@babel/runtime": "^7.7.7", "@tarojs/cli": "3.2.1", "@tarojs/components": "3.2.1", "@tarojs/react": "3.2.1", "@tarojs/runtime": "3.2.1", "@tarojs/taro": "3.2.1", "lodash": "4.17.15", "moment": "^2.29.1", "react": "^17.0.0", "react-dom": "^17.0.0", "taro-ui": "^3.0.0-alpha.3" }, "devDependencies": { "@babel/core": "^7.8.0", "@tarojs/mini-runner": "3.2.1", "@tarojs/webpack-runner": "3.2.1", "@types/webpack-env": "^1.13.6", "babel-preset-taro": "3.2.1", "eslint": "^6.8.0", "eslint-config-taro": "3.2.1", "stylelint": "9.3.0", "@types/react": "^17.0.2", "eslint-plugin-react": "^7.8.2", "eslint-plugin-import": "^2.12.0", "eslint-plugin-react-hooks": "^4.2.0" }
期望行为
报错信息
系统信息 macos ,字节开发者工具信息: Version: 1.53.0 Commit: Unknown Date: Unknown Electron: 11.1.0 Chrome: 87.0.4280.88 Node.js: 12.18.3 V8: 8.7.220.29-electron.0 OS: Darwin x64 17.7.0
补充信息 编译错误了,存在了div标签~