Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
易企天创
zendata
提交
c23db642
Z
zendata
项目概览
易企天创
/
zendata
大约 1 年 前同步成功
通知
17
Star
2
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Z
zendata
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c23db642
编写于
3月 10, 2021
作者:
陈
陈琦
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix issues
上级
97eff9f6
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
31 addition
and
9 deletion
+31
-9
test/test.yaml
test/test.yaml
+5
-1
ui/src/components/FieldRange.vue
ui/src/components/FieldRange.vue
+16
-1
ui/src/locales/lang/en-US.js
ui/src/locales/lang/en-US.js
+3
-0
ui/src/locales/lang/zh-CN.js
ui/src/locales/lang/zh-CN.js
+3
-0
users/test/_test03.yaml
users/test/_test03.yaml
+4
-7
未找到文件。
test/test.yaml
浏览文件 @
c23db642
...
...
@@ -7,4 +7,8 @@ fields:
length
:
3
leftpad
:
0
prefix
:
"
+"
postfix
:
"
-"
\ No newline at end of file
postfix
:
"
-"
-
field
:
refer1
range
:
'
0-3{2!}'
postfix
:
'
-'
\ No newline at end of file
ui/src/components/FieldRange.vue
浏览文件 @
c23db642
...
...
@@ -84,6 +84,21 @@
</a-form-model-item>
</a-col>
</a-row>
<a-row
:gutter=
"cols"
>
<a-col
:span=
"cols"
>
<a-form-model-item
:label=
"$t('form.repeatTag')"
prop=
"repeatTag"
:labelCol=
"labelColFull"
:wrapperCol=
"wrapperColFull"
>
<a-radio-group
v-model=
"section.repeatTag"
>
<a-radio
:value=
"''"
>
{{
$t
(
'
form.repeatItem
'
)
}}
</a-radio>
<a-radio
:value=
"'!'"
>
{{
$t
(
'
form.repeatGroup
'
)
}}
</a-radio>
</a-radio-group>
</a-form-model-item>
</a-col>
</a-row>
<a-row
:gutter=
"cols"
>
<a-col
:span=
"cols"
>
<a-form-model-item
:label=
"$t('form.rand')"
prop=
"rand"
:labelCol=
"labelColFull"
:wrapperCol=
"wrapperColFull"
>
...
...
@@ -257,7 +272,7 @@ export default {
}
if
(
this
.
section
.
repeat
&&
this
.
section
.
repeat
!=
''
&&
this
.
section
.
repeat
!=
'
1
'
)
{
this
.
section
.
value
+=
'
{
'
+
this
.
section
.
repeat
+
'
}
'
this
.
section
.
value
+=
'
{
'
+
this
.
section
.
repeat
+
this
.
section
.
repeatTag
+
'
}
'
}
}
else
if
(
this
.
section
.
type
===
'
literal
'
)
{
...
...
ui/src/locales/lang/en-US.js
浏览文件 @
c23db642
...
...
@@ -113,6 +113,9 @@ const locale = {
'
form.end
'
:
'
End
'
,
'
form.value
'
:
'
Value
'
,
'
form.repeat
'
:
'
repeat
'
,
'
form.repeatTag
'
:
'
Repeat Mode
'
,
'
form.repeatItem
'
:
'
Repeat Item
'
,
'
form.repeatGroup
'
:
'
Repeat Group
'
,
'
form.step
'
:
'
Step
'
,
'
form.col
'
:
'
Column
'
,
'
form.count
'
:
'
Count
'
,
...
...
ui/src/locales/lang/zh-CN.js
浏览文件 @
c23db642
...
...
@@ -113,6 +113,9 @@ const locale = {
'
form.end
'
:
'
结束
'
,
'
form.value
'
:
'
取值
'
,
'
form.repeat
'
:
'
重复
'
,
'
form.repeatTag
'
:
'
重复模式
'
,
'
form.repeatItem
'
:
'
逐个重复
'
,
'
form.repeatGroup
'
:
'
整体重复
'
,
'
form.step
'
:
'
步长
'
,
'
form.col
'
:
'
列名
'
,
'
form.count
'
:
'
数目
'
,
...
...
users/test/_test03.yaml
浏览文件 @
c23db642
title
:
数据测试1
desc
:
数据测试1
from
:
zentao.number.v1.yaml
# 全局From配置
title
:
数据测试3
desc
:
数据测试3
fields
:
-
field
:
refer1
# 使用全局From配置
-
field
:
refer1
range
:
0-3{2!}
postfix
:
'
-'
use
:
small{2}
-
from
:
zentao.number.v1.yaml
use
:
large{3}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录