G6VP icon indicating copy to clipboard operation
G6VP copied to clipboard

水印bug

Open xuwenkeshiwo opened this issue 11 months ago • 2 comments

一、在资产列表中添加 "水印" 组件后,以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 in create-react-app.

二、无法修改水印内容

image-20230801114836644.png

image-20230801135515962.png

image-20230801135650649.png

xuwenkeshiwo avatar Aug 01 '23 06:08 xuwenkeshiwo

@xuwenkeshiwo 水印的内容是通过接口请求得到的:https://github.com/antvis/G6VP/blob/master/packages/gi-assets-basic/src/services/WatermarkService.ts 你可以复写这个服务的

pomelo-nwu avatar Aug 08 '23 08:08 pomelo-nwu

@xuwenkeshiwo 「添加 "水印" 组件后,以UMD模式集成到react中,会报错」 这个问题我们排查下

pomelo-nwu avatar Aug 08 '23 08:08 pomelo-nwu