perf: rename empty layer to `NO NAME`

This commit is contained in:
Lykin 2024-04-29 11:28:49 +08:00
parent c9beceab76
commit 18ba04a5b1
1 changed files with 1 additions and 1 deletions

View File

@ -356,7 +356,7 @@ const renderLabel = ({ option }) => {
if (option.label === '') {
// blank label name
return h('div', [
h(NText, { italic: true, depth: 3 }, () => '[Empty]'),
h(NText, { italic: true, depth: 3 }, () => '[NO NAME]'),
h('span', () => ` (${option.keyCount || 0})`),
])
}