未验证 提交 d0eead75 编写于 作者: O openharmony_ci 提交者: Gitee

!9904 button fontSize xts适配

Merge pull request !9904 from 邹林肯/origin_xts
...@@ -154,7 +154,7 @@ export default function buttonJsunit() { ...@@ -154,7 +154,7 @@ export default function buttonJsunit() {
let strJson = getInspectorByKey('btok'); let strJson = getInspectorByKey('btok');
let obj = JSON.parse(strJson); let obj = JSON.parse(strJson);
console.info("[buttonJsunit_0700'] component obj is: " + obj.$attrs.fontSize + obj.$attrs.fontColor + obj.$attrs.fontFamily + obj.$attrs.fontStyle + obj.$attrs.fontWeight); console.info("[buttonJsunit_0700'] component obj is: " + obj.$attrs.fontSize + obj.$attrs.fontColor + obj.$attrs.fontFamily + obj.$attrs.fontStyle + obj.$attrs.fontWeight);
expect(obj.$attrs.fontSize).assertEqual('-200.00fp'); expect(obj.$attrs.fontSize).assertEqual('16.00fp');
expect(obj.$attrs.fontColor).assertEqual('#FFFFFFFF'); expect(obj.$attrs.fontColor).assertEqual('#FFFFFFFF');
expect(obj.$attrs.fontFamily).assertEqual('233'); expect(obj.$attrs.fontFamily).assertEqual('233');
expect(obj.$attrs.fontStyle).assertEqual('FontStyle.Normal'); expect(obj.$attrs.fontStyle).assertEqual('FontStyle.Normal');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册