mirror of
https://github.com/Art051/it-tools.git
synced 2025-08-11 19:29:03 +00:00
refactor(ui): remove n-text (#506)
This commit is contained in:
committed by
GitHub
parent
05ea545475
commit
72c98a3c5e
@@ -96,16 +96,14 @@ function switchToBlock({ count = 1 }: { count?: number }) {
|
||||
<n-table>
|
||||
<tbody>
|
||||
<tr v-for="{ getValue, label, undefinedFallback } in sections" :key="label">
|
||||
<td>
|
||||
<n-text strong>
|
||||
{{ label }}
|
||||
</n-text>
|
||||
<td font-bold>
|
||||
{{ label }}
|
||||
</td>
|
||||
<td>
|
||||
<SpanCopyable v-if="getValue(networkInfo)" :value="getValue(networkInfo)" />
|
||||
<n-text v-else depth="3">
|
||||
<span v-else op-70>
|
||||
{{ undefinedFallback }}
|
||||
</n-text>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user