展会大屏 单位添加空格

This commit is contained in:
hzz 2023-09-16 18:00:39 +08:00
parent 4979f3391c
commit 43fdc964c0

View File

@ -85,7 +85,7 @@ export const useMicroExhibitionStore = defineStore(Names.MicroExhibition, {
} else if(params.name == '1050910'){
unit = '米'
}
return params.value + unit;
return params.value + ' ' + unit;
}
}
@ -102,7 +102,7 @@ export const useMicroExhibitionStore = defineStore(Names.MicroExhibition, {
item.label = {
show: true,
position: 'top',
formatter: '{c}只'
formatter: '{c} 只'
}
return item
})
@ -127,7 +127,7 @@ export const useMicroExhibitionStore = defineStore(Names.MicroExhibition, {
} else if(params.name == '1021629'){
unit = '件'
}
return params.value + unit;
return params.value + ' ' + unit;
}
}
return item
@ -145,7 +145,7 @@ export const useMicroExhibitionStore = defineStore(Names.MicroExhibition, {
item.label = {
show: true,
position: 'top',
formatter: '{c}版'
formatter: '{c} 版'
}
return item
})
@ -163,7 +163,7 @@ export const useMicroExhibitionStore = defineStore(Names.MicroExhibition, {
item.label = {
show: true,
position: 'top',
formatter: '{c}件'
formatter: '{c} 件'
}
return item
})