配合 amis 实现前端界面显示
This commit is contained in:
parent
cf35b31382
commit
2399a9d382
@ -221,7 +221,7 @@
|
|||||||
"name": "wrong_rate",
|
"name": "wrong_rate",
|
||||||
"label": "错误率",
|
"label": "错误率",
|
||||||
"type": "tpl",
|
"type": "tpl",
|
||||||
"tpl": "${wrong_rate * 100}%"
|
"tpl": "<%= (data.wrong_rate * 100).toFixed(2) %>%"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user