add:新增excel的导入导出组件

This commit is contained in:
JaguarJack
2021-04-24 20:30:28 +08:00
parent f67a4f33d5
commit 48c41f7948
4 changed files with 170 additions and 2 deletions

View File

@@ -73,6 +73,31 @@ class HeaderItem
return $this->width(50)->type('selection');
}
/**
* dont export
*
* @time 2021年04月22日
* @return $this
*/
public function dontExport(): HeaderItem
{
$this->attributes['export'] = false;
return $this;
}
/**
* dont import
*
* @time 2021年04月22日
* @return $this
*/
public function dontImport(): HeaderItem
{
$this->attributes['import'] = false;
return $this;
}
/**
* 动态访问