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

设置className或者style并没有生效 #7310

Closed
zzt1523 opened this issue Aug 11, 2020 · 0 comments · Fixed by #7359
Closed

设置className或者style并没有生效 #7310

zzt1523 opened this issue Aug 11, 2020 · 0 comments · Fixed by #7359
Assignees
Labels
P-1 High, patch T-h5 Target - 编译到 H5 V-3 Version - 3.x
Milestone

Comments

@zzt1523
Copy link

zzt1523 commented Aug 11, 2020

相关平台

H5

复现仓库

https://github.com/zzt1523/taro-demo
浏览器版本: Chrome 84.0.4147.105
使用框架: Nerv

复现步骤

clone之后,直接npm run dev:h5 就能复现

期望结果

结果应该是可以正常设置样式效果

实际结果

设置了并没有任何效果

环境信息

Taro CLI 3.0.7 environment info:
    System:
      OS: macOS 10.15.3
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 13.6.0 - /usr/local/bin/node
      Yarn: 1.21.1 - /usr/local/bin/yarn
      npm: 6.13.4 - /usr/local/bin/npm
    npmPackages:
      @tarojs/components: 3.0.7 => 3.0.7 
      @tarojs/mini-runner: 3.0.7 => 3.0.7 
      @tarojs/runtime: 3.0.7 => 3.0.7 
      @tarojs/taro: 3.0.7 => 3.0.7 
      @tarojs/webpack-runner: 3.0.7 => 3.0.7 
      babel-preset-taro: 3.0.7 => 3.0.7 
      eslint-config-taro: 3.0.7 => 3.0.7 
      nervjs: ^1.5.0 => 1.5.7 
      taro-ui: ^3.0.0-alpha.2 => 3.0.0-alpha.2 
@taro-bot2 taro-bot2 bot added F-nerv T-h5 Target - 编译到 H5 V-3 Version - 3.x labels Aug 11, 2020
@Chen-jj Chen-jj self-assigned this Aug 13, 2020
@Chen-jj Chen-jj added the P-1 High, patch label Aug 13, 2020
@taro-bot2 taro-bot2 bot added this to the 3.0.8 milestone Aug 13, 2020
@Chen-jj Chen-jj assigned luckyadam and unassigned luckyadam and Chen-jj Aug 17, 2020
@Chen-jj Chen-jj linked a pull request Aug 19, 2020 that will close this issue
20 tasks
Chen-jj added a commit that referenced this issue Aug 19, 2020
* fix(router): 修复配置 customRoutes 后路由跳转问题,close #7008

* fix(router): 修复 h5 对 onReachBottom 的支持

* feat(mini-runner): 支持小程序全局注册组件,close #7098

* fix(mini-runner): 去除与原生小程序混写时生成冗余代码,close #7172

* fix(helper): babel-register解析忽略项目 babelrc 配置文件,close #6821

* fix(taro): 修复 getComputedStyle 报错问题,close #7185

* fix(runtime): 修复使用 taro 代码开发自定义 tabbar 报错

* fix(webpack-runner): 修复使用 nerv 框架时组件样式设置不上的问题,close #7310

Co-authored-by: chenjiajian <798095202@qq.com>
@ZakaryCode ZakaryCode moved this to Done in H5 Apr 10, 2023
@ZakaryCode ZakaryCode added this to H5 Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-1 High, patch T-h5 Target - 编译到 H5 V-3 Version - 3.x
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants