# 跨页打印table被截断怎么办

{% embed url="<https://v.douyin.com/r88tHxV/>" %}

{% embed url="<https://www.bilibili.com/video/BV1fV4y1n7YV/>" %}

我原来一直以为table

里这个thead没什么用

因为

有他跟没他的显示起来是没什么区别

一模一样

但后来我发现

如果你需要打印

那他就非常好用了

为什么呢

我们来看一下啊

假如现在没有这个替害的

然后页面是这样的

我们现在需要打印他的话呢

大家看如果页面数据太多的话

大概第2张纸和第1张纸中间

他就把这个表格给截断了

但如果我们有这个thead

大家注意一下

放开我们再来试一下

大家看 他每张纸都会有这个表头

这个就非常好了

那所以我知道了这个

我们下一期视频再来看一下

el-table怎么去解决打印的时候

这个表格被截断的问题


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sunzsh.gitbook.io/xiaoshan.bug/kua-ye-da-yin-table-bei-jie-duan-zen-me-ban.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
