Skip to content

Commit

Permalink
fix(typo): Change target attribute from _black to _blank (#2823)
Browse files Browse the repository at this point in the history
This commit addresses the issue where page navigation incorrectly overwrote the content of previously opened tabs. By changing the target attribute of the a-tag from _black to _blank, new pages will now open in a new tab, preventing the overwriting of existing tabs.
  • Loading branch information
leinad59 authored Jul 19, 2024
1 parent bbea2e7 commit c76a510
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,31 +101,31 @@ export class DraggerUpload extends PureComponent<Props> {
;可选参数有总计/小计数据{' '}
<a
href="https://s2.antv.antgroup.com/api/general/s2dataconfig#data"
target="_black"
target="_blank"
rel="noopener noreferrer"
>
totalData
</a>
、字段元数据{' '}
<a
href="https://s2.antv.antgroup.com/api/general/s2dataconfig#meta"
target="_black"
target="_blank"
rel="noopener noreferrer"
>
meta
</a>
、排序参数配置{' '}
<a
href="https://s2.antv.antgroup.com/api/general/s2dataconfig#sortparam"
target="_black"
target="_blank"
rel="noopener noreferrer"
>
sortParams
</a>
。参考数据格式见:
<a
href="https://gw.alipayobjects.com/os/bmw-prod/2a5dbbc8-d0a7-4d02-b7c9-34f6ca63cff6.json"
target="_black"
target="_blank"
rel="noopener noreferrer"
>
标准透视表数据
Expand Down

0 comments on commit c76a510

Please sign in to comment.