Commit df522694 by Jaxon

chore(d2-table): 修改空值显示为带横杠的标签

替换两处空值场景下的空span为el-tag展示横杠,优化空状态视觉效果
1 parent 4f968870
......@@ -141,7 +141,9 @@
<el-tag v-if="hasValue(sub, scope.row)" :type="getSchemaTagOptions(sub, scope.row).type">
{{ getSchemaTagOptions(sub, scope.row).label }}
</el-tag>
<span v-else></span>
<el-tag v-else>
-
</el-tag>
</div>
</template>
......@@ -255,7 +257,9 @@
<el-tag v-if="hasValue(item, scope.row)" :type="getSchemaTagOptions(item, scope.row).type">
{{ getSchemaTagOptions(item, scope.row).label }}
</el-tag>
<span v-else></span>
<el-tag v-else>
-
</el-tag>
</div>
</template>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!