QianmiOpen/plume2

期望relaxProps支持数组字符串格式

binlaniua opened this issue · 2 comments

static relaxProps = [
    "stateName1",   //auto injected
    "stateName2",  //auto injected
    {
        "stateName3Alias": "stateName3"  //auto injected as name 'stateName3Alias'
    }
]

这样确实会简化一些,relax的增加解析relaxProps的方法

static relaxProps = [
  'stateName1',
  'stateName2',
  'viewAction',
  {
    stateName3Alias: ['goodsList', 1, "goodsName"],
    helloQL,
    worldQL,
  },
 ]