Commit 78a80afb by Jaxon

fix(shelfProductTable): 为商户名称列添加可滚动的完整内容提示框

1 parent ae3b60ac
...@@ -31,9 +31,18 @@ ...@@ -31,9 +31,18 @@
</d2-table-header> </d2-table-header>
<d2-table ref="tableRef" v-bind="table"> <d2-table ref="tableRef" v-bind="table">
<template #merchantNames="{ scope }"> <template #merchantNames="{ scope }">
<div class="two-line-ellipsis-ok" :title="scope.merchantNames"> <div class="two-line-ellipsis-ok">
<el-tooltip>
<div class="two-line-ellipsis-ok">
{{ scope.merchantNames }} {{ scope.merchantNames }}
</div> </div>
<template #content>
<div style="max-height: 300px; overflow: auto;">
{{ scope.merchantNames }}
</div>
</template>
</el-tooltip>
</div>
</template> </template>
<template #auth-button="{ scope }"> <template #auth-button="{ scope }">
<div style="padding:21px 0"> <div style="padding:21px 0">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!