|
@@ -21,8 +21,12 @@
|
|
|
<Close />
|
|
|
</el-icon>
|
|
|
</div>
|
|
|
- <div class="content" :class="[index === nodeConfig.conditionNodes.length - 1 ? 'last-child-title' : '']">
|
|
|
- <span v-if="toText(nodeConfig, index)">{{ toText(nodeConfig, index) }}</span>
|
|
|
+ <div
|
|
|
+ class="content"
|
|
|
+ :class="[index === nodeConfig.conditionNodes.length - 1 ? 'last-child-title' : '']"
|
|
|
+ style="width: 200px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; -o-text-overflow: ellipsis"
|
|
|
+ >
|
|
|
+ <span v-if="toText(nodeConfig, index)" :title="toText(nodeConfig, index)">{{ toText(nodeConfig, index) }}</span>
|
|
|
<span v-else class="placeholder"> 请设置条件 </span>
|
|
|
</div>
|
|
|
<!-- 最后一个没有,长度大于2倒数第二个没有 -->
|