Suchjs官网

模板类型

模板字符串类型是一个比较实用的类型,详细说明可参见template类型文档

示例

  • Such.as({ 
      "first": ":string:{3,10}", 
      "second": ":number:[20,100]:%.2f", 
      "template": ":::字段first的值:'`:ref:&./first`',字段second的值:`:ref:&./second`" 
    });