This commit is contained in:
DESKTOP-FUDKNA8\znjsz 2024-03-20 10:36:40 +08:00
parent 67d59c5693
commit 82573307e9

View File

@ -38,7 +38,10 @@ const rate = computed(() => {
// .toFixed(2) // .toFixed(2)
// .toString(); // .toString();
// return [parseInt(_rate), _rate.split(".")[1]]; // return [parseInt(_rate), _rate.split(".")[1]];
return [parseInt(props.rawData.nowYield), props.rawData.nowYield.split(".")[1]]; return [
parseInt(props.rawData.nowYield),
(props.rawData.nowYield + "").split(".")[1],
];
}); });
const chart = ref(null); const chart = ref(null);