diff --git a/arkui/ace_ets_component_five/entry/src/main/ets/test/PositionSettingJsunit.test.ets b/arkui/ace_ets_component_five/entry/src/main/ets/test/PositionSettingJsunit.test.ets index 4c2a9da5304b19639721aa31048e8000507d01ba..ed5780a2ec11ec82d42055984245f35f00747bd5 100644 --- a/arkui/ace_ets_component_five/entry/src/main/ets/test/PositionSettingJsunit.test.ets +++ b/arkui/ace_ets_component_five/entry/src/main/ets/test/PositionSettingJsunit.test.ets @@ -53,7 +53,7 @@ export default function positionSettingJsunit() { console.info("[testPositionSetting001] component strJson:" + strJson); let obj = JSON.parse(strJson); console.info("[testPositionSetting001] textAlign: " + obj.$attrs.textAlign); - expect(obj.$attrs.textAlign).assertEqual('TextAlign.Start'); + expect(obj.$attrs.textAlign).assertEqual('TextAlign.Left'); console.info('[testPositionSetting001] END'); done(); }); @@ -92,7 +92,7 @@ export default function positionSettingJsunit() { console.info("[testPositionSetting003] component strJson:" + strJson); let obj = JSON.parse(strJson); console.info("[testPositionSetting003] textAlign: " + obj.$attrs.textAlign); - expect(obj.$attrs.textAlign).assertEqual("TextAlign.Start"); + expect(obj.$attrs.textAlign).assertEqual("TextAlign.Right"); console.info('[testPositionSetting003] END'); done(); }); diff --git a/arkui/ace_ets_standard/entry/src/main/ets/test/TextJsunit.test.ets b/arkui/ace_ets_standard/entry/src/main/ets/test/TextJsunit.test.ets index b2b92908f97628d5e444f3dab5f645e7cc59f46c..d79ddf0c70393ce47cc5099522ea8e9f37ec1e6b 100644 --- a/arkui/ace_ets_standard/entry/src/main/ets/test/TextJsunit.test.ets +++ b/arkui/ace_ets_standard/entry/src/main/ets/test/TextJsunit.test.ets @@ -125,7 +125,7 @@ export default function textJsunit() { expect(obj.$attrs.enabled).assertEqual(true) expect(obj.$attrs.visibility).assertEqual("Visibility.Hidden") expect(obj.$attrs.fontWeight).assertEqual("FontWeight.Normal") - expect(obj.$attrs.textAlign).assertEqual("TextAlign.Start") + expect(obj.$attrs.textAlign).assertEqual("TextAlign.Left") expect(obj.$attrs.textOverflow).assertEqual("TextOverflow.Clip") expect(obj.$attrs.decoration).assertEqual(JSON.stringify({ type: "TextDecorationType.LineThrough", color: "#FFFF0000" @@ -150,7 +150,7 @@ export default function textJsunit() { expect(obj.$attrs.borderStyle).assertEqual("BorderStyle.Solid") expect(obj.$attrs.visibility).assertEqual("Visibility.None") expect(obj.$attrs.fontWeight).assertEqual("FontWeight.Bolder") - expect(obj.$attrs.textAlign).assertEqual("TextAlign.Center") + expect(obj.$attrs.textAlign).assertEqual("TextAlign.Right") expect(obj.$attrs.textCase).assertEqual("TextCase.UpperCase") expect(obj.$attrs.decoration).assertEqual(JSON.stringify({ type: "TextDecorationType.None", color: "#FFFF0000" diff --git a/arkui/ace_standard/src/main/js/default/pages/pickerView/prop/index.js b/arkui/ace_standard/src/main/js/default/pages/pickerView/prop/index.js index 6e9d0c8730d0693ab1ed7b353e50c502be2337a1..1266b716131d033ff8d30b1067816784d1775093 100644 --- a/arkui/ace_standard/src/main/js/default/pages/pickerView/prop/index.js +++ b/arkui/ace_standard/src/main/js/default/pages/pickerView/prop/index.js @@ -128,10 +128,10 @@ export default { this.showPropTrue = this.$element("showPropTrue").getInspector() this.showPropFalse = this.$element("showPropFalse").getInspector() this.showPropNone = this.$element("showPropNone").getInspector() - this.pickerViewViewText = this.$element("pickerViewViewText").getInspector() - this.pickerViewViewDate = this.$element("pickerViewViewDate").getInspector() - this.pickerViewViewTime = this.$element("pickerViewViewTime").getInspector() - this.pickerViewViewDatetime = this.$element("pickerViewViewDatetime").getInspector() - this.pickerViewViewMultiText = this.$element("pickerViewViewMultiText").getInspector() + this.pickerViewText = this.$element("pickerViewText").getInspector() + this.pickerViewDate = this.$element("pickerViewDate").getInspector() + this.pickerViewTime = this.$element("pickerViewTime").getInspector() + this.pickerViewDatetime = this.$element("pickerViewDatetime").getInspector() + this.pickerViewMultiText = this.$element("pickerViewMultiText").getInspector() } }