mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-24 02:02:53 +08:00
[FIX]调整操作列宽度
This commit is contained in:
@@ -276,7 +276,7 @@
|
||||
<span class="common-cell">{{ scope.row.sysCreateTime }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" min-width="280px" fixed="right" header-align="center" align="left">
|
||||
<el-table-column label="操作" min-width="300px" fixed="right" header-align="center" align="left">
|
||||
<template slot-scope="scope" class="btn-gl">
|
||||
<template v-if="getInlineActions(scope.row).length">
|
||||
<span v-for="(action, index) in getInlineActions(scope.row)" :key="action.key">
|
||||
@@ -2059,12 +2059,12 @@ export default {
|
||||
buildActions(row) {
|
||||
const actions = [];
|
||||
// 优先级按原有展示顺序
|
||||
if (row.isPermission && !this.forChoose && row.status == 2) {
|
||||
actions.push({ key: 'withdraw', label: '撤回', className: 'action-link--primary' });
|
||||
}
|
||||
if (this.aiPermission) {
|
||||
actions.push({ key: 'aiSetting', label: 'AI设置', className: 'action-link--primary' });
|
||||
}
|
||||
if (row.isPermission && !this.forChoose && row.status == 2) {
|
||||
actions.push({ key: 'withdraw', label: '撤回', className: 'action-link--primary' });
|
||||
}
|
||||
if (row.isPermission && row.status != 2) {
|
||||
actions.push({ key: 'edit', label: '编辑', className: 'action-link--primary' });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user