Commit 0aee2a6c authored by van.chen's avatar van.chen

init

parent a8c27110
......@@ -155,7 +155,7 @@ export class HomePage implements OnInit, OnDestroy {
if (data && data.constructor === Array) {
if (data.length > 0) {
if (data[0].value) {
dong.yewei = Number(data[0].value).toFixed(2);
dong.yewei = (6.5 - Number(data[0].value)).toFixed(2);
}
}
} else {
......@@ -191,7 +191,7 @@ export class HomePage implements OnInit, OnDestroy {
if (data && data.constructor === Array) {
if (data.length > 0) {
if (data[0].value) {
xi.yewei = Number(data[0].value).toFixed(2);
xi.yewei = (6.5 - Number(data[0].value)).toFixed(2);
}
}
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment