优化代码

This commit is contained in:
陈景阳
2019-08-31 15:59:43 +08:00
parent 5e6aec2393
commit 8115f06496
3 changed files with 7 additions and 4 deletions

View File

@@ -119,7 +119,7 @@
:width="col.width">
</el-table-column>
</template>
<el-table-column :label="$t('Action')" align="left" width="120" fixed="right">
<el-table-column :label="$t('Action')" align="left" fixed="right">
<template slot-scope="scope">
<el-tooltip :content="$t('View')" placement="top">
<el-button type="primary" icon="el-icon-search" size="mini" @click="onView(scope.row)"></el-button>