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

uni-data-select 使用云端函数用法时,field无法使用_id as value 来获取 schema表的_id #973

Open
xiaocaiji233 opened this issue Nov 26, 2024 · 6 comments

Comments

@xiaocaiji233
Copy link

uni-data-select-4
uni_data_select_3
uni-data-select_2
uni-data-select_1

@xiaocaiji233
Copy link
Author

uni-data-select-5
表返回的数据是_id,而不是value

@xiaocaiji233
Copy link
Author

更正,是没有返回value,我将表中status设为value可以正常返回
uni-data-select-6

@GRCmade
Copy link
Contributor

GRCmade commented Nov 26, 2024

你好,我这里测试着这个是正常的,您再看一下是不是数据库的问题呢?

image
image

@xiaocaiji233
Copy link
Author

我卡一两天了,很怪,表里只有这个_id无法作为value ,我去找找别的问题吧,感谢您的测试

@xiaocaiji233
Copy link
Author

我放弃了,改用获取这个表的其他字段,然后后面再以拿到的字段去查表获取_id

@xiaocaiji233
Copy link
Author

应该是免费的支付宝云的bug,同样的bug还有联表查询时返回全部的信息,而不是返回指定的

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