@tarojs/plugin-platform-harmony-ets 4.0.0-beta.130 → 4.0.0-beta.132

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -363,7 +363,7 @@ export function setNormalAttributeIntoInstance(instance: CommonAttribute, style:
363
363
  })
364
364
  }
365
365
  if (!isUndefined(style.opacity)) {
366
- instance.opacity(style.opacity === '' ? 1: style.opacity)
366
+ instance.opacity(String(style.opacity) === '' ? 1: style.opacity)
367
367
  }
368
368
  if (!isUndefined(style.overflow)) {
369
369
  instance.clip(style.overflow === 'hidden')
@@ -190,6 +190,11 @@ export class TaroNode extends TaroDataSourceElement {
190
190
  this.childNodes.push(child)
191
191
  this.notifyDataAdd(this.childNodes.length - 1)
192
192
 
193
+ if (this.nodeName === "TEXT") {
194
+ // 修复beta2版本文字从undefined -> 有值时的 不更新问题
195
+ this.updateComponent()
196
+ }
197
+
193
198
  // @ts-ignore
194
199
  child.toggleLayer?.(true)
195
200
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/plugin-platform-harmony-ets",
3
- "version": "4.0.0-beta.130",
3
+ "version": "4.0.0-beta.132",
4
4
  "description": "OpenHarmony & 鸿蒙系统插件",
5
5
  "author": "O2Team",
6
6
  "homepage": "https://gitee.com/openharmony-sig/taro",
@@ -27,13 +27,13 @@
27
27
  "webpack-sources": "^3.2.3",
28
28
  "@babel/preset-react": "^7.24.1",
29
29
  "webpack": "5.91.0",
30
- "@tarojs/components": "4.0.0-beta.130",
31
- "@tarojs/helper": "4.0.0-beta.130",
32
- "@tarojs/runner-utils": "4.0.0-beta.130",
33
- "@tarojs/runtime": "4.0.0-beta.130",
34
- "@tarojs/service": "4.0.0-beta.130",
35
- "@tarojs/shared": "4.0.0-beta.130",
36
- "@tarojs/taro": "4.0.0-beta.130"
30
+ "@tarojs/helper": "4.0.0-beta.132",
31
+ "@tarojs/runner-utils": "4.0.0-beta.132",
32
+ "@tarojs/runtime": "4.0.0-beta.132",
33
+ "@tarojs/components": "4.0.0-beta.132",
34
+ "@tarojs/service": "4.0.0-beta.132",
35
+ "@tarojs/shared": "4.0.0-beta.132",
36
+ "@tarojs/taro": "4.0.0-beta.132"
37
37
  },
38
38
  "devDependencies": {
39
39
  "fast-glob": "^3.3.1",
@@ -42,7 +42,7 @@
42
42
  "rollup-plugin-ts": "^3.0.2",
43
43
  "solid-js": "^1.8.16",
44
44
  "tslib": "^2.4.0",
45
- "rollup-plugin-copy": "4.0.0-beta.130"
45
+ "rollup-plugin-copy": "4.0.0-beta.132"
46
46
  },
47
47
  "scripts": {
48
48
  "prod": "pnpm run build",