Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
uniplat-example
/
intent-example
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
710f8f72
authored
Jan 09, 2023
by
罗建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
--story=1013404 --user=罗建民 主从表样式支持
https://www.tapd.cn/56664057/s/1129970
parent
8b37210f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
4 deletions
models/Example1.groovy
models/Example1.json
models/Example1.groovy
View file @
710f8f72
...
...
@@ -141,8 +141,20 @@ class Example1 {
}
def
getInputsTemplate
()
{
return
"<strong>name</strong>:{name}<br/> "
+
" <strong>status</strong>:{status}</br>"
+
" other:{other}"
return
[
[
"<strong>name</strong>:"
,
"{name}"
,
",name is test"
],
[
"<strong>status</strong>:"
,
"{status}"
],
[
"  other:"
,
"{other}"
]
]
}
}
\ No newline at end of file
models/Example1.json
View file @
710f8f72
...
...
@@ -227,7 +227,7 @@
"label"
:
"template从表"
,
"relatedId"
:
"id"
,
"style"
:
"template"
,
"template"
:
"
<strong>name</strong>:{name}<br/>age:{age
}"
,
"template"
:
"
{{[['<strong>name</strong>:','{name}'],['age:','{age}']]}
}"
,
"controls"
:
[
{
"property"
:
"name"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment