Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
LinuxSuRen
zendata
提交
aee7d0a5
Z
zendata
项目概览
LinuxSuRen
/
zendata
与 Fork 源项目一致
Fork自
易企天创 / zendata
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Z
zendata
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
aee7d0a5
编写于
8月 03, 2020
作者:
aaronchen2k2k
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix a issue that missing the additional fields defined in test.yaml than in default.xml
上级
3815158e
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
13 addition
and
1 deletion
+13
-1
demo/test.yaml
demo/test.yaml
+1
-1
res/en/sample.yaml
res/en/sample.yaml
+6
-0
res/zh/sample.yaml
res/zh/sample.yaml
+6
-0
未找到文件。
demo/test.yaml
浏览文件 @
aee7d0a5
...
...
@@ -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
res/en/sample.yaml
浏览文件 @
aee7d0a5
...
...
@@ -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.
...
...
res/zh/sample.yaml
浏览文件 @
aee7d0a5
...
...
@@ -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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录