提交 1363966e 编写于 作者: Z zoulinken 提交者: 邹林肯

fixed 5b3c8f71 from https://gitee.com/xzken/xts_acts/pulls/9904

fix button fontSize xts error
Signed-off-by: Nzoulinken <zoulinken1@huawei.com>
上级 bb463166
...@@ -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.
先完成此消息的编辑!
想要评论请 注册