Commit b242efb1 by 杨明

fixed

1 parent 46fff3ee
......@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-09-05 17:24:08
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-10-10 14:33:16
* @LastEditTime: 2023-10-16 16:43:54
* @FilePath: \scrm-micro-journey\src\views\journeyConfig\index.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
......@@ -29,7 +29,7 @@
<div class="progress-item" v-for="(v, k) in stepItem.conditionsList" :key="k">
<span>条件{{ k + 1 }}</span>
<span>{{ spiltString(v, 0) }}</span>
<img src="@/assets/config/arrow.png" />
<img src="@/assets/config/arrow.png" v-if="spiltString(v, 1)" />
<span>{{ spiltString(v, 1) }}</span>
</div>
</div>
......@@ -194,7 +194,7 @@ export default {
created() {},
methods: {
spiltString(str, n) {
return str.split('-')[n]
return (str.split('-')[n] || '').replace('文字备注:', '')
},
//查看详情
getEmpDetail() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!