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

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b33221-2b5e8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b33221-2b5e8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?