Can vue get the corresponding id according to name?

first of all, the interface looks like this:
clipboard.png

VersionOSID:

clipboard.png

now the backend requirements are as follows:
when submitting: the value of OS is to be passed to the backend using name, that is, vMub model = "osName" I bind to the corresponding name, so I can"t get the Version drop-down? (because the id of os must be passed to get the Version drop-down content.) so is there any good solution?


it is estimated that you need this. If the bound value of Select is an object type, be sure to specify value-key as its unique identifier.


enables ref to solve

Menu