Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

185
Views
(Vue js) cambie los datos de vue haciendo clic en el botón

Me gustaría hacer clic en el botón y cambiar los datos de vuejs en formdata.eventname . Pero no hace nada después de hacer clic en el botón

Además, no sé cómo usar vue.js en stackoverflow. Si lo sabes, por favor ayúdame a editar la pregunta.

 < script src = "https://unpkg.com/vue" > <script > new Vue({ el: "#app", data: { total: parseInt("<%= total %>"), events: [], current: 1, perPage: 2, rangeBefore: 1, rangeAfter: 1, order: "", size: "", isSimple: false, isRounded: false, prevIcon: "chevron-left", nextIcon: "chevron-right", formdata: { eventname: "eventname2", organizer: "", starttime: "", endtime: "", venue: "", }, }, methods: { submitform: async function () { this.formdata.eventname = "eventname1"; }, }); </script>
 <button class="button is-link" @click="submitform()">Submit</button>

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Cometí un error estúpido. No puse el botón dentro de la aplicación.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!