期望relaxProps支持数组字符串格式
binlaniua opened this issue · 2 comments
binlaniua commented
static relaxProps = [
"stateName1", //auto injected
"stateName2", //auto injected
{
"stateName3Alias": "stateName3" //auto injected as name 'stateName3Alias'
}
]
hufeng commented
这样确实会简化一些,relax的增加解析relaxProps的方法
hufeng commented
static relaxProps = [
'stateName1',
'stateName2',
'viewAction',
{
stateName3Alias: ['goodsList', 1, "goodsName"],
helloQL,
worldQL,
},
]