diff options
| author | 刘洪洪 <[email protected]> | 2024-11-21 10:44:53 +0800 |
|---|---|---|
| committer | 刘洪洪 <[email protected]> | 2024-11-21 10:44:53 +0800 |
| commit | 872182dd06a7daf7396874ea8586aee823ecccef (patch) | |
| tree | 27fd764fa8d4d756dc57f5b2e0622cf0c9842501 | |
| parent | 087d2c26fb5c0f5a5feef8699fee02c9168b0b98 (diff) | |
fix: entity setting列表表格空数据显示'-'
| -rw-r--r-- | src/components/table/setting/ProfilesTable.vue | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/table/setting/ProfilesTable.vue b/src/components/table/setting/ProfilesTable.vue index e2dc6bb1..6ba31fcf 100644 --- a/src/components/table/setting/ProfilesTable.vue +++ b/src/components/table/setting/ProfilesTable.vue @@ -130,7 +130,9 @@ export default { str += item.type + ',' } }) - str = str.slice(0, -1) + str = str.slice(0, -1) || '-' + } else { + str = '-' } return str }, |
