Commit e189c4f6 by rongjun

bug

parent 97c2be24
......@@ -101,6 +101,7 @@ class biboxApi {
for(const a of oldD.asks){
if(response.data.price === a[0]) {
has = true;
newCount = a[1];
if (response.data.action === 'ADD') {
newCount += response.data.count;
}
......@@ -123,6 +124,7 @@ class biboxApi {
for(const a of oldD.bids){
if(response.data.price === a[0]) {
has = true;
newCount = a[1];
if (response.data.action === 'ADD') {
newCount += response.data.count;
}
......
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