Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

水印bug #475

Open
xuwenkeshiwo opened this issue Aug 1, 2023 · 2 comments
Open

水印bug #475

xuwenkeshiwo opened this issue Aug 1, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@xuwenkeshiwo
Copy link

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

@pomelo-nwu
Copy link
Member

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

@pomelo-nwu pomelo-nwu added the bug Something isn't working label Aug 8, 2023
@pomelo-nwu
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants