GA Button 调整

This commit is contained in:
ciaochaos 2020-06-17 08:35:32 +08:00
parent 5772f5db35
commit be651d0467
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import '../Qrcode.css';
import {handleLink} from "../../utils/gaHelper";
const LinkButton = ({ href, value }) => (
<a onClick={ (e) => handleLink(e.target.href) } href={href} rel="noopener noreferrer" target="_blank">
<a onClick={ (e) => handleLink(href) } href={href} rel="noopener noreferrer" target="_blank">
<button className="dl-btn">{value}</button>
</a>
)