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

fix(h5): 修复getPropertyValue拿不到style属性值 #9255

Closed
wants to merge 375 commits into from

Conversation

keephungryHF
Copy link
Contributor

@keephungryHF keephungryHF commented May 6, 2021

这个 PR 做了什么? (简要描述所做更改)

修复getPropertyValue拿不到值时再直接用property获取style的属性值,实际上应该还会有其他的property拿不到的case,通过getPropertyValue拿不到时,直接通过属性property访问获取。

image

这个 PR 是什么类型? (至少选择一个)

  • 错误修复(Bugfix) issue id #
  • 新功能(Feature)
  • 代码重构(Refactor)
  • TypeScript 类型定义修改(Typings)
  • 文档修改(Docs)
  • 代码风格更新(Code style update)
  • 其他,请描述(Other, please describe):

这个 PR 涉及以下平台:

  • 所有小程序
  • 微信小程序
  • 支付宝小程序
  • 百度小程序
  • 字节跳动小程序
  • QQ 轻应用
  • 京东小程序
  • 快应用平台(QuickApp)
  • Web 平台(H5)
  • 移动端(React-Native)

luckyadam and others added 30 commits December 2, 2019 15:03
* lineCap类型不是number,是"lineCap" | "round" | "square"

* Update index.d.ts
fix(taro-cli):rn优先处理entryFilePath,防止部分组件无法合并全局样式
fix(taro-transformer-wx):rn不需要转换函数组件,方便升级rn并使用hook
对 state 的操作直接影响 data,因为 data 和 state 引用一样,因此需要深拷贝再 setData。

去除 shakeFnFromObject 的锅。
* docs:  Video视频组件文档更新

* docs: Video视频组件文档更新-表格格式小修改
This reverts commit b2bdb6e.

这个改动不能只改 weapp,所有小程序端、redux 和 mobx 的更新赋值都得改。因此先 revert 回去。
@keephungryHF keephungryHF changed the title Fix h5 computed style fix(h5): 修复getPropertyValue拿不到style属性值 May 6, 2021
@keephungryHF keephungryHF deleted the fix-h5-computedStyle branch May 6, 2021 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.