Vue splice deletes elements from an array

Delete elements from the array


Picture description

     
      if(goodsitem.num == 0){
        self.goodslist.splice(index,1)
        console.log(self.goodslist)
      }
Mar.30,2021

did you add key to the element


did you solve the problem? I have the same problem? Ask the boss to tell me how to solve it

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