Variables in Vue are rendered successfully, but input mutation is undefined?

data file
clipboard.png

//

clipboard.png

//mutations.js

clipboard.png


item.textdelete
iditem.textpropundefined

click
clipboard.png

question and answer:, mutation API accepts only two parameters

Mar.03,2021

the deleteItem function you called has no corresponding parameters.


Mutation function only accepts (state,data) if there is more than one data in the data, you need to wrap it in an object such as ({id:xxx,
name:xxx})

.
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-1b32bea-2b1a0.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-1b32bea-2b1a0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?