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

[求助]当我使用GetSliceValue()不可用 #264

Closed
SonderEASE opened this issue Dec 1, 2022 · 3 comments · Fixed by #265
Closed

[求助]当我使用GetSliceValue()不可用 #264

SonderEASE opened this issue Dec 1, 2022 · 3 comments · Fixed by #265
Assignees
Labels

Comments

@SonderEASE
Copy link

image

配置如上,调用后GetSliceValue() 后,触发: convert to []string fail ! source type:[]interface {}

properties的value该如何配置才能让这里的value识别为[]string?

@SonderEASE SonderEASE added the bug label Dec 1, 2022
@SonderEASE SonderEASE changed the title [BUG]当我使用GetSliceValue()不可用 [问题]当我使用GetSliceValue()不可用 Dec 1, 2022
@SonderEASE SonderEASE changed the title [问题]当我使用GetSliceValue()不可用 [求助]当我使用GetSliceValue()不可用 Dec 1, 2022
@zouyx
Copy link
Member

zouyx commented Dec 9, 2022

image

配置如上,调用后GetSliceValue() 后,触发: convert to []string fail ! source type:[]interface {}
properties的value该如何配置才能让这里的value识别为[]string?

可能有特殊玩法,我这两天检查下。

@zouyx zouyx added question and removed bug labels Dec 9, 2022
@SonderEASE
Copy link
Author

谢谢~ 目前我是自己加了一个string => []string的转换

@zouyx
Copy link
Member

zouyx commented Dec 9, 2022

谢谢~ 目前我是自己加了一个string => []string的转换

我觉得这是可以的

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

Successfully merging a pull request may close this issue.

2 participants