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

picker数组格式问题 #387

Open
qmjy opened this issue Jun 23, 2024 · 0 comments
Open

picker数组格式问题 #387

qmjy opened this issue Jun 23, 2024 · 0 comments

Comments

@qmjy
Copy link

qmjy commented Jun 23, 2024

'[[{"label":"1幢","value":"1"},{"label":"2幢","value":"2"},{"label":"3幢","value":"3"},{"label":"4幢","value":"4"},{"label":"5幢","value":"5"},{"label":"6幢","value":"6"},{"label":"7幢","value":"7"},{"label":"8幢","value":"8"},{"label":"9幢","value":"9"},{"label":"10幢","value":"10"},{"label":"11幢","value":"11"},{"label":"12幢","value":"12"}],[{"label":"1单元","value":"1"}],[{"label":"1楼","value":"1"},{"label":"2楼","value":"2"},{"label":"3楼","value":"3"},{"label":"4楼","value":"4"},{"label":"5楼","value":"5"},{"label":"6楼","value":"6"},{"label":"7楼","value":"7"},{"label":"8楼","value":"8"},{"label":"9楼","value":"9"},{"label":"10楼","value":"10"},{"label":"11楼","value":"11"},{"label":"12楼","value":"12"},{"label":"13楼","value":"13"},{"label":"14楼","value":"14"},{"label":"15楼","value":"15"},{"label":"16楼","value":"16"},{"label":"17楼","value":"17"},{"label":"18楼","value":"18"},{"label":"19楼","value":"19"},{"label":"20楼","value":"20"},{"label":"21楼","value":"21"},{"label":"22楼","value":"22"},{"label":"23楼","value":"23"},{"label":"24楼","value":"24"},{"label":"25楼","value":"25"},{"label":"26楼","value":"26"},{"label":"27楼","value":"27"},{"label":"28楼","value":"28"},{"label":"29楼","value":"29"},{"label":"30楼","value":"30"}],[{"label":"1号","value":"1"},{"label":"2号","value":"2"},{"label":"3号","value":"3"},{"label":"4号","value":"4"},{"label":"5号","value":"5"},{"label":"6号","value":"6"}]]'

多列picker,我不知道这个JSON.stringify()以后得结果有什么问题,非要去掉最外层的[]才能运行,但是后端那个程序语言生成的json不是上述结构呢?

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

1 participant