...
|
...
|
@@ -46,6 +46,10 @@ const _getBestList = () => { |
|
|
cache: false
|
|
|
}).then(result => {
|
|
|
let list = result && result.data || [];
|
|
|
|
|
|
if (result && result.data && result.data.length !== 2) {
|
|
|
result.data = [];
|
|
|
}
|
|
|
|
|
|
for (let item of list) {
|
|
|
switch (item.living) {
|
...
|
...
|
@@ -64,6 +68,7 @@ const _getBestList = () => { |
|
|
// 格式化时间
|
|
|
item.starting_time = _formatTime(item.starting_time * 1000, true);
|
|
|
}
|
|
|
|
|
|
return result && result.data || [];
|
|
|
});
|
|
|
};
|
...
|
...
|
|