When a form is submitted in vue-element-admin, the check box submits data. How can an array of fields be converted to a string?

problem description

  • when a form is submitted in vue-element-admin, the check box submits data. How can an array of fields be converted to a string?

related codes

fruit[0]:
fruit[1]:

how to convert the submitted field into a string: fruit: Banana, Apple?

Oct.21,2021

{fruit:this.fruit.join(',')}

JSON.stringify(this.fruit) //JSON.stringify() JavaScript() JSON
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-1eb5888-48339.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-1eb5888-48339.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?