How to copy an original content in vue data data

non-professional students seek answers from the Party

haven"t studied web design
but to complete a final project, you need to use a web page
ask for teaching

what I want to achieve is that when jiaClick function is executed, I can add an original data to the original rbars form, which is similar to the shopping cart form
Thank you

var vue = new Vue({
                el: "-sharpfl",
                data: {
                    rbars: [
                        {
                            img: "1.png",
                            title: "1",
                            spec: "",
                            status: [],
                            price: "1",
                            orig: "",
                            stock: 10000,
                            count: 0
                        },
                        {
                            img: "2.png",
                            title: "2",
                            spec: "",
                            status: [],
                            price: "2",
                            orig: "",
                            stock: 10000,
                            count: 0
                        },
                        {
                            img: "3.png",
                            title: "3",
                            spec: "",
                            status: [],
                            price: "3",
                            orig: "",
                            stock: 10000,
                            count: 0
                        },
                    ],
                },
                        methods: {
                    jiaClick: function(e) {
                        var that = this;
                        var idx = parseInt(e.target.dataset.idx);
                        var list = that.rbars;
                        var count = parseInt(list[idx].count);
                        if(count < 0) {
                            count = 1;
                        } else {
                            list[idx].count = count + 1;
                        }
                        that.rbars = list;
                        this.rbars.push()
                    },
                }
            })

for example, if there are three sets of data, when I jiaClick function the second group of data, I will add the second group of data once. How to write

Mar.28,2022

jiaClick should be written in methods like this

new Vue({
    el: '-sharpf1',
    data: {
        arry:[]
    },
    methods: {
        jiaClick(e) {
            this.arry.push(e)
        }
    }
})

                            this.rbars_cart.push({
                            img: list[idx].img,
                            title:list[idx].title,
                            price: list[idx].price,
                            count: list[idx].count
                        });
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-1e45cbe-4389b.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-1e45cbe-4389b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?