This commit is contained in:
liqi 2025-04-29 22:13:46 +08:00
parent 09175bba3c
commit 31982ee111
1 changed files with 4 additions and 1 deletions

View File

@ -69,7 +69,10 @@ export default {
return item;
});
res.data.model.map((item) => {
item.name = item.model;
item.name = item.model.slice(0, 10); // model 使 10
if (item.model.length > 10) {
item.name += "..."; // model 10
}
item.value = item.count;
return item;
});