|
|
@ -16,8 +16,8 @@ |
|
|
|
<template #addonAfter="data"> |
|
|
|
<template v-if="data.field === 'groupName'"> |
|
|
|
<div class="iconOP"> |
|
|
|
<EditOutlined v-if="inputDisabled" @click="editGroup" /> |
|
|
|
<CheckOutlined v-else @click="add" /> |
|
|
|
<EditOutlined title="编辑" v-if="inputDisabled" @click="editGroup" /> |
|
|
|
<CheckOutlined title="保存" v-else @click="add" /> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
@ -161,6 +161,7 @@ |
|
|
|
() => [ |
|
|
|
createVNode(DeleteOutlined, { |
|
|
|
style: { color: 'red', cursor: 'pointer' }, |
|
|
|
title: '删除', |
|
|
|
// onClick: () => delGroup(record.id), |
|
|
|
}), |
|
|
|
], |
|
|
|