数据查询树替换接口联调

This commit is contained in:
sjl
2025-09-17 08:46:26 +08:00
parent 5db685baca
commit 95c68942ed
3 changed files with 163 additions and 69 deletions

View File

@@ -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('~')