feat: support optional query content (#1097)
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
This commit is contained in:
parent
1ade70aa1e
commit
2d5ad0d208
36 changed files with 547 additions and 289 deletions
|
|
@ -16,7 +16,7 @@ const CSVDownload: FC<ICSVDownloadProps> = ({
|
|||
}) => {
|
||||
const { t } = useTranslation()
|
||||
const { CSVDownloader, Type } = useCSVDownloader()
|
||||
const addQueryContentVars = [...vars, { name: t('share.generation.queryTitle') }]
|
||||
const addQueryContentVars = [...vars]
|
||||
const template = (() => {
|
||||
const res: Record<string, string> = {}
|
||||
addQueryContentVars.forEach((item) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue