taro css样式编译顺序错误

dy2hfwbg  于 5个月前  发布在  其他
关注(0)|答案(1)|浏览(60)

相关平台

微信小程序

小程序基础库: 2.30.2
使用框架: React

复现步骤

页面组件元素顺序跟css样式顺序不一致,导致css编译顺序错误

期望结果

css编译顺序跟我写的顺序一致

实际结果

不一致

环境信息

👽 Taro v3.0.16

Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating

  Taro CLI 3.0.16 environment info:
    System:
      OS: macOS 11.3.1
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 10.16.2 - ~/.nvm/versions/node/v10.16.2/bin/node
      Yarn: 1.22.19 - ~/.nvm/versions/node/v10.16.2/bin/yarn
      npm: 6.9.0 - ~/.nvm/versions/node/v10.16.2/bin/npm
    npmPackages:
      @tarojs/cli: 3.0.16 => 3.0.16 
      @tarojs/components: 3.0.16 => 3.0.16 
      @tarojs/mini-runner: 3.0.16 => 3.0.16 
      @tarojs/react: 3.0.16 => 3.0.16 
      @tarojs/runtime: 3.0.16 => 3.0.16 
      @tarojs/taro: 3.0.16 => 3.0.16 
      @tarojs/webpack-runner: 3.0.16 => 3.0.16 
      babel-preset-taro: 3.0.16 => 3.0.16 
      eslint-config-taro: 3.0.16 => 3.0.16 
      react: ^16.10.0 => 16.13.1 
    npmGlobalPackages:
      typescript: 4.9.3
9jyewag0

9jyewag01#

@lilingling3 麻烦提供一下可复现的 demo

相关问题