From a74c665a53c7d1129c510137da97c74b8ffdcb99 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 f1c779d..0c7ad90 100644 --- a/deps/weex-styler/lib/validator.js +++ b/deps/weex-styler/lib/validator.js @@ -2320,7 +2320,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']), @@ -2912,7 +2912,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