taro style中writingMode丢失

dxxyhpgq  于 3个月前  发布在  其他
关注(0)|答案(1)|浏览(41)

相关平台

微信小程序

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

复现步骤

taro init demo

随便写一个View 加上style样式

期望结果

不丢失

实际结果

丢失

环境信息

Taro CLI 3.6.22 environment info:
    System:
      OS: macOS 13.3
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 16.18.1 - /var/folders/n2/wzl2q8gj6cj1kvkmqrcpd2wm0000gn/T/yarn--1706249142943-0.4654405366249863/node
      Yarn: 1.22.19 - /var/folders/n2/wzl2q8gj6cj1kvkmqrcpd2wm0000gn/T/yarn--1706249142943-0.4654405366249863/yarn
      npm: 8.19.2 - ~/.nvm/versions/node/v16.18.1/bin/npm
    npmPackages:
      @tarojs/cli: 3.6.22 => 3.6.22 
      @tarojs/components: 3.6.22 => 3.6.22 
      @tarojs/helper: 3.6.22 => 3.6.22 
      @tarojs/mini-runner: 3.6.22 => 3.6.22 
      @tarojs/plugin-framework-react: 3.6.22 => 3.6.22 
      @tarojs/plugin-html: ^3.6.20 => 3.6.22 
      @tarojs/plugin-platform-alipay: 3.6.22 => 3.6.22 
      @tarojs/plugin-platform-h5: 3.6.22 => 3.6.22 
      @tarojs/plugin-platform-jd: 3.6.22 => 3.6.22 
      @tarojs/plugin-platform-qq: 3.6.22 => 3.6.22 
      @tarojs/plugin-platform-swan: 3.6.22 => 3.6.22 
      @tarojs/plugin-platform-tt: 3.6.22 => 3.6.22 
      @tarojs/plugin-platform-weapp: 3.6.22 => 3.6.22 
      @tarojs/react: 3.6.22 => 3.6.22 
      @tarojs/router: 3.6.22 => 3.6.22 
      @tarojs/runtime: 3.6.22 => 3.6.22 
      @tarojs/service: 3.6.22 => 3.6.22 
      @tarojs/shared: 3.6.22 => 3.6.22 
      @tarojs/taro: 3.6.22 => 3.6.22 
      @tarojs/taro-h5: 3.6.22 => 3.6.22 
      @tarojs/taro-loader: 3.6.22 => 3.6.22 
      @tarojs/webpack-runner: 3.6.22 => 3.6.22 
      @tarojs/webpack5-runner: 3.6.22 => 3.6.22 
      babel-preset-taro: 3.6.22 => 3.6.22 
      eslint-config-taro: 3.6.22 => 3.6.22 
      react: 18 => 18.2.0
ldioqlga

ldioqlga1#

taro/packages/taro-runtime/src/dom/style_properties.ts

Line 82 in 71a1bc4

| | // 'writingMode', |

应该是这里注释掉了 在处理style时删除了'writingMode'

相关问题