提交 aee7d0a5 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

fix a issue that missing the additional fields defined in test.yaml than in default.xml

上级 3815158e
......@@ -26,7 +26,7 @@ fields:
prefix: "["
postfix: "]"
- field: field_nested_refer
- field: field_nested_instant
from: custom.ip.private.yaml
use: all
prefix: "["
\ No newline at end of file
......@@ -111,6 +111,12 @@ fields:
use: privateB,privateC # Use the two instances of privateC and privateB defined in this file.
postfix: "\t"
- field: field_nested_instant # Refer to other definition file which refer another instances definition.
from: custom.ip.private.yaml # Refer to data/custom/ip/private.yaml
use: all # Use all instances defined in this file.
prefix: "{"
postfix: "}"
- field: field_use_excel # Read the data from the data source of excel.
from: system.address.v1.china # Read the book named china in data/system/address/v1.xlsx.
select: city # Query the field city.
......
......@@ -105,6 +105,12 @@ fields:
use: privateC,privateC # 使用该文件中定义的privateC和privateB两个实例。
postfix: "\t"
- field: field_nested_instant # 引用其他的定义文件,且该文件引用了其他实例。
from: custom.ip.private.yaml # 引用data/custom/ip/private.yaml
use: all # 使用该文件中的所有实例。
prefix: "{"
postfix: "}"
- field: field_use_excel # 从excel数据源里面取数据。
from: system.address.v1.china # 从data/system/address/v1.xlsx文件中读取名为china的工作簿。
select: city # 查询city字段。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册