|
|
@@ -140,7 +140,7 @@
|
|
|
<el-button-group>
|
|
|
<template v-for="(button, b) in toolbarButtons">
|
|
|
<template v-if="!(button.key === 'remove' && dataModel.length === 1)">
|
|
|
- <el-button :key="b" :type="button.type" :icon="button.icon" @click="handleActionEvent(button, b)">
|
|
|
+ <el-button :key="b" :type="button.type" :icon="button.icon" @click="handleActionEvent(button, index)">
|
|
|
{{ button.label }}
|
|
|
</el-button>
|
|
|
</template>
|