修复表格不显示查看按钮
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -297,7 +297,7 @@ onMounted(() => { | ... | @@ -297,7 +297,7 @@ onMounted(() => { |
| 297 | <el-tag :type="tagType(scope.row, item.field)">{{ | 297 | <el-tag :type="tagType(scope.row, item.field)">{{ |
| 298 | tagMethod(scope.row, item.field) | 298 | tagMethod(scope.row, item.field) |
| 299 | }}</el-tag> | 299 | }}</el-tag> |
| 300 | <span v-if="item.btn?.visible?.(scope) !== false && item.btn.visible !== false" class="text_btn" style="position: absolute;right: 0;" | 300 | <span v-if="item.btn && item.btn?.visible?.(scope) !== false && item.btn?.visible !== false" class="text_btn" style="position: absolute;right: 0;" |
| 301 | @click="(item.btn.click && !item.btn.disabled && !scope.row.disabled) ? item.btn.click(scope, item.btn) : handleClick(scope, item.btn)" | 301 | @click="(item.btn.click && !item.btn.disabled && !scope.row.disabled) ? item.btn.click(scope, item.btn) : handleClick(scope, item.btn)" |
| 302 | v-preReClick>{{ item.btn.label }}</span> | 302 | v-preReClick>{{ item.btn.label }}</span> |
| 303 | </div> | 303 | </div> | ... | ... |
-
Please register or sign in to post a comment