From 1a790b7cfe7dfbca27a6b109e3458865c84b1904 Mon Sep 17 00:00:00 2001 From: bojiang Date: Fri, 16 Sep 2022 15:15:43 +0800 Subject: [PATCH] fixed 709410e from https://gitee.com/BoJiang4702/third_party_weex-loader/pulls/104 jiangbo91@huawei.com delete flexDirection parameter Signed-off-by: bojiang Change-Id: I5237aeeb12534f201e20828909e2e0eaded531b8 --- deps/weex-styler/lib/validator.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/weex-styler/lib/validator.js b/deps/weex-styler/lib/validator.js index dbb085e..f4924a2 100644 --- a/deps/weex-styler/lib/validator.js +++ b/deps/weex-styler/lib/validator.js @@ -2343,7 +2343,7 @@ var RICH_PROP_NAME_GROUPS = { flexGrow: NUMBER_VALIDATOR, flexShrink: NUMBER_VALIDATOR, flexBasis: LENGTH_VALIDATOR, - flexDirection: genEnumValidator(['row', 'column', 'column-reverse', 'row-reverse']), + flexDirection: genEnumValidator(['row', 'column']), justifyContent: genEnumValidator(['flex-start', 'flex-end', 'center', 'space-between', 'space-around', 'space-evenly']), alignItems: genEnumValidator(['stretch', 'flex-start', 'flex-end', 'center', 'baseline']), @@ -2936,7 +2936,7 @@ var CARD_PROP_NAME_GROUPS = { flexGrow: NUMBER_VALIDATOR, flexShrink: NUMBER_VALIDATOR, flexBasis: LENGTH_VALIDATOR, - flexDirection: genEnumValidator(['row', 'column', 'column-reverse', 'row-reverse']), + flexDirection: genEnumValidator(['row', 'column']), justifyContent: genEnumValidator(['flex-start', 'flex-end', 'center', 'space-between', 'space-around', 'space-evenly']), alignItems: genEnumValidator(['stretch', 'flex-start', 'flex-end', 'center', 'baseline']), -- Gitee