源文件
This commit is contained in:
7
jeepay-ui-uapp-agent/hooks/formatData.js
Normal file
7
jeepay-ui-uapp-agent/hooks/formatData.js
Normal file
@@ -0,0 +1,7 @@
|
||||
export function formatData(val) {
|
||||
for (const key in val) {
|
||||
if (val[key] != 0 && !val[key] && !key.includes("img")) {
|
||||
val[key] = "---"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user