This commit is contained in:
shiziyuan9527 2020-10-10 17:05:28 +08:00
commit c4674abd4c
1 changed files with 7 additions and 2 deletions

View File

@ -35,7 +35,6 @@
@filter-change="filter" @filter-change="filter"
@select-all="handleSelectAll" @select-all="handleSelectAll"
@select="handleSelectionChange" @select="handleSelectionChange"
@row-click="showDetail"
row-key="id" row-key="id"
class="test-content adjust-table"> class="test-content adjust-table">
<el-table-column <el-table-column
@ -54,7 +53,13 @@
<el-table-column <el-table-column
prop="name" prop="name"
:label="$t('commons.name')" :label="$t('commons.name')"
show-overflow-tooltip> show-overflow-tooltip
>
<template v-slot:default="scope">
<div @mouseover="showDetail(scope.row)">
<p>{{ scope.row.name }}</p>
</div>
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="priority" prop="priority"