1、react项目暴露某变量
const dynamicIp =window.location.origin;
export const baseUrl=`${dynamicIp}/` ;
2、类型“EventTarget”上不存在属性“id”
<Link
className="font-sty"
to="#"
id={`#####`}
onClick={(e): void => linkClick((e.target as HTMLTextAreaElement).id)}
replace
>