[update JTable] 按钮显示错误
This commit is contained in:
@@ -69,9 +69,9 @@
|
||||
<!-- 没有特殊判断,直接渲染operationList -->
|
||||
<!-- 需要更多按钮的情况 -->
|
||||
<template v-if="getLineOperationList(record).length > operateMaxNum + 1">
|
||||
<template v-for="(operation, index) in operSpecialJudge(record).slice(0, operateMaxNum)">
|
||||
<template v-for="(operation, index) in getLineOperationList(record).slice(0, operateMaxNum)">
|
||||
<a :key="index" :class="operation.text === $t('delete') ? 'operate-del-btn' : ''" @click="operationClick(operation,record)">{{ operation.text }}</a>
|
||||
<a-divider v-if="index + 1 < operSpecialJudge(record).slice(0, operateMaxNum).length" type="vertical" />
|
||||
<a-divider v-if="index + 1 < getLineOperationList(record).slice(0, operateMaxNum).length" type="vertical" />
|
||||
</template>
|
||||
<template v-if="getLineOperationList(record).length > operateMaxNum">
|
||||
<a-divider type="vertical" />
|
||||
|
||||
Reference in New Issue
Block a user