Can the data bound by vue through v-model be assigned through the val () of jquery?

<div id="app">
  <input v-model="name">
  

{{name}}

<button id="id1"> </button> </div> new Vue({ el: "-sharpapp", data: { name:"" }, methods: { toggle: function(todo){ todo.done = !todo.done } } }) $("-sharpid1").click(function() { $("input").val("12345") })

demo introduces a time plug-in for jquery in this http://jsfiddle.net/7wpadk6e/
vue. Click on that plug-in to assign a value to input through the val () of jquery.
I want to assign a value to the data bound by vue at the same time. Is this feasible?

Oct.11,2021

  https://stackoverflow.com/que.

although it can be achieved, I think that since we have chosen vue, let's give up jQuery bravely

.
Menu