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

点击复制的时候会有警告 #18

Open
xieyuanbin1 opened this issue Mar 16, 2023 · 2 comments
Open

点击复制的时候会有警告 #18

xieyuanbin1 opened this issue Mar 16, 2023 · 2 comments

Comments

@xieyuanbin1
Copy link

vue: 3.2.47
vue3-json-viewer: 2.2.2
vite: 4.1.4

按照 tsx 添加了声明文件其他都ok,点击 copy 的时候会出现下图警告。
添加onCopied 也还是会提示这个

image

@xieyuanbin1
Copy link
Author

补充问题

这个显示还需要配置什么?

image

@qiuquanwu
Copy link
Owner

你需要在当前组件引入JsonViewer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants