Commit b270f105 authored by renjintao's avatar renjintao

getpoolordercount

parent 22885b15
...@@ -733,7 +733,7 @@ export default { ...@@ -733,7 +733,7 @@ export default {
this.$store.commit("setCountRun", 0); this.$store.commit("setCountRun", 0);
Api.getpoolordercount() Api.getpoolordercount()
.then((res) => { .then((res) => {
if (res.success && res.result && res.result.length > 1) { if (res.success && res.result && res.result.length > 0) {
res.result.forEach((data) => { res.result.forEach((data) => {
this.changeCountOut(data.poolType, data.count); this.changeCountOut(data.poolType, 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