amis icon indicating copy to clipboard operation
amis copied to clipboard

这个框架是否能做一些ifels的判断逻辑

Open s315746262 opened this issue 5 years ago • 3 comments

因为添加和修改数据的页面都是一样的,不太想分开两个json页面 image 像这样的

s315746262 avatar Apr 26 '21 07:04 s315746262

部分属性支持 tpl,这个 title 不太清楚得确认一下

nwind avatar Apr 26 '21 09:04 nwind

支持的。

"title": "<% if (data.is_edit) { %>编辑<% } else { %>添加<% }%>"

2betop avatar Apr 28 '21 03:04 2betop

相关文档 https://baidu.gitee.io/amis/zh-CN/docs/concepts/template

2betop avatar Apr 28 '21 03:04 2betop