Vue $data uses Times error

var block = new Vue({
    el:"-sharpcontent",
    data:{
        category1:""
    }
})

$(".category").click(function(){
    block.$data.category1 = "";
});

I would like to ask what it means to report this mistake, and has anyone ever encountered such a problem?
clipboard.png

Oct.01,2021

well, it is recommended to take a look at the vue document first.


it seems that you haven't got a clear idea of what vue, has learned during the one-year study. Go to the official website of html @ click= "onClick"
ide/events.html" rel=" nofollow noreferrer "> vue


one year of study. Can you share it?

Menu