We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ant中获取select下拉选中的option的多个数据
其中用了v-for的:key和:value属性一致有一个就可以了,否则会报错,但是我们可能还要获取选中的option中的其他值,怎么办呢,
在上任意绑定一个键值对,如下图:code可以任意取名,可以等于整条option数据,或则其中一个数据,
从ant提供了@chang(value,option)或@select(value,option)方法中option参数获取,code在option.data.attrs.code中。
绑定:code,[code]可以自定义
获取code绑定的值option.data.attrs.code
The text was updated successfully, but these errors were encountered:
No branches or pull requests
ant中获取select下拉选中的option的多个数据
其中用了v-for的:key和:value属性一致有一个就可以了,否则会报错,但是我们可能还要获取选中的option中的其他值,怎么办呢,
在上任意绑定一个键值对,如下图:code可以任意取名,可以等于整条option数据,或则其中一个数据,
从ant提供了@chang(value,option)或@select(value,option)方法中option参数获取,code在option.data.attrs.code中。
绑定:code,[code]可以自定义
获取code绑定的值option.data.attrs.code
The text was updated successfully, but these errors were encountered: