G6VP
G6VP copied to clipboard
水印bug
一、在资产列表中添加 "水印" 组件后,以UMD模式集成到react中,会报错
×
Error
Minified React error #200; visit https://reactjs.org/docs/error-decoder.html?invariant=200 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
▶ 18 stack frames were collapsed.
This screen is visible only in development. It will not appear if the app crashes in production. Open your browser’s developer console to further inspect this error. This error overlay is powered by
react-error-overlay
used increate-react-app
.
二、无法修改水印内容
@xuwenkeshiwo 水印的内容是通过接口请求得到的:https://github.com/antvis/G6VP/blob/master/packages/gi-assets-basic/src/services/WatermarkService.ts 你可以复写这个服务的
@xuwenkeshiwo 「添加 "水印" 组件后,以UMD模式集成到react中,会报错」 这个问题我们排查下