---
title: "屏蔽公文tab页签（非一文双屏）"
publicId: "7857281a-fa7b-4ec2-9d76-1b774720611a"
source: "https://weapp.eteams.cn/build/techdoc/wdoc/index.html#/public/doc/7857281a-fa7b-4ec2-9d76-1b774720611a"
---
这里指屏蔽公文流程的顶部正文页签

![image.png](_assets/7857281a-fa7b-4ec2-9d76-1b774720611a/1281150854369476624.png)

```
axios.interceptors.response.use(
    function (response) {
      // 对响应数据进行操作
      const {config={},data={} } = response
      const {url} = config;  
      if(data && data.status && url.indexOf("/api/odoc/flowForm/getOdocTabs") != -1){
          const {tabList} = data?.data || {}
        data.data.tabList=tabList.filter(item=> item.id != 'odocText'); 
      }
      return response;
    },
    function (error) {
      // 对响应错误进行操作
      return Promise.reject(error);
    }
); 

```
