This commit is contained in:
陆柯 2023-04-08 15:53:14 +08:00
parent 5eb2b729ed
commit 8f7bca3786

View File

@ -470,8 +470,8 @@ export default {
if (Number.isNaN(parseInt(amount))) { if (Number.isNaN(parseInt(amount))) {
return '' return ''
} }
if (coin === wo.envar.KEYNAME && wo.envarRemote?.pexPrecision) { if (coin === wo.envar.KEYNAME && wo.ss.envarRemote?.pexPrecision) {
precision = wo.envarRemote?.pexPrecision precision = wo.ss.envarRemote?.pexPrecision
} }
return `${parseInt(Number(amount) * Math.pow(10, precision)) / Math.pow(10, precision)}` return `${parseInt(Number(amount) * Math.pow(10, precision)) / Math.pow(10, precision)}`
}, },