fix: 网元参数配置list类型值空白空格bug补充占位符
This commit is contained in:
@@ -575,9 +575,10 @@ onMounted(() => {
|
||||
@dblclick="listEdit(record)"
|
||||
>
|
||||
<template v-if="record['type'] === 'enum'">
|
||||
{{ JSON.parse(record['filter'])[text] || ' ' }}
|
||||
{{ JSON.parse(record['filter'])[text] }}
|
||||
</template>
|
||||
<template v-else>{{ `${text}` || ' ' }}</template>
|
||||
<template v-else>{{ `${text}` }}</template>
|
||||
<!-- 空格占位 -->
|
||||
<EditOutlined
|
||||
class="editable-cell__icon"
|
||||
@click="listEdit(record)"
|
||||
@@ -698,7 +699,7 @@ onMounted(() => {
|
||||
{{ JSON.parse(text['filter'])[text.value] }}
|
||||
</template>
|
||||
<template v-else>
|
||||
{{ `${text.value}` || ' ' }}
|
||||
{{ `${text.value}` }}
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
@@ -784,7 +785,7 @@ onMounted(() => {
|
||||
{{ JSON.parse(text['filter'])[text.value] }}
|
||||
</template>
|
||||
<template v-else>
|
||||
{{ `${text.value}` || ' ' }}
|
||||
{{ `${text.value}` }}
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user