ba316c98 by lihua

修复表格不显示查看按钮

1 parent d83c37d5
...@@ -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>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!