数据查询树替换接口联调
This commit is contained in:
@@ -134,12 +134,16 @@ const prop = defineProps({
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
|
||||
// 添加单位
|
||||
const outerUnit = computed(() => {
|
||||
return prop.tableData.length > 0 ? prop.tableData[0].unit : '';
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
const addPercentSigns = (text: string, unit: string) => {
|
||||
return text
|
||||
.split('~')
|
||||
|
||||
Reference in New Issue
Block a user