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

默认全部展开,expand-depth、expanded等参数无效 #98

Open
jimchen1009 opened this issue Sep 23, 2022 · 2 comments
Open

默认全部展开,expand-depth、expanded等参数无效 #98

jimchen1009 opened this issue Sep 23, 2022 · 2 comments

Comments

@jimchen1009
Copy link

jimchen1009 commented Sep 23, 2022

expanded 这个怎么设置,请教~

@LDM456
Copy link

LDM456 commented Jun 16, 2023

解决了吗,插个眼

@cshenger
Copy link

我一样也不行,所以我来这搜了一下发现原来真有这问题。我现在的解决办法是直接加个v-if
<json-viewer v-if="dialogs.content" :value="dialogs.content" :expand-depth="5" copyable boxed sort></json-viewer>

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

3 participants