配合 amis 实现前端界面显示

This commit is contained in:
shikong 2023-05-31 22:22:21 +08:00
parent cf35b31382
commit 2399a9d382

View File

@ -221,7 +221,7 @@
"name": "wrong_rate",
"label": "错误率",
"type": "tpl",
"tpl": "${wrong_rate * 100}%"
"tpl": "<%= (data.wrong_rate * 100).toFixed(2) %>%"
}
]
}