Commit 42a8fa8f by huyue

修复bug

1 parent 59839142
......@@ -57,12 +57,12 @@
<div class="text-box" slot="multiterm" slot-scope="scope">
<span>{{ scope.scope[scope.prop] ? scope.scope[scope.prop].split(',')[0] : '-'}}</span>
<el-popover v-if="scope.scope[scope.prop]" placement="top" width="fit-content" trigger="hover">
<div>
<div
v-for="(item, index) in scope.scope[scope.prop].split(',')"
:key="index">
{{ item }}
</div>
<div class="more-box">
<div
v-for="(item, index) in scope.scope[scope.prop].split(',')"
:key="index">
{{ item }}
</div>
</div>
<span class="more-info" slot="reference">...({{ scope.scope[scope.prop].split(',').length }})</span>
</el-popover>
......@@ -268,6 +268,7 @@ export default {
}).then(res => {
if (res) {
this.$message.success('修改成功')
this.getStaff()
this.handleSearch()
}
})
......@@ -392,6 +393,7 @@ export default {
typeName: this.showFormData[0].optionList[0].typeName,
merchantIds: []
}
this.getStaff()
this.handleSearch()
},
......@@ -502,7 +504,15 @@ export default {
}
}
}
.more-box {
height: 480px;
overflow-y: auto;
}
.more-info {
white-space: nowrap;
color: #5850ff;
cursor: pointer;
}
.precent-box {
font-size: 14px;
text-align: left;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!