Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

input type="submit" 按键支持 #10

Open
danny899 opened this issue May 11, 2020 · 1 comment
Open

input type="submit" 按键支持 #10

danny899 opened this issue May 11, 2020 · 1 comment

Comments

@danny899
Copy link

danny899 commented May 11, 2020

在运用kbone过程中发现submit按钮转换后失去了功能

<template>
  <div>
    <form @submit.prevent="addTodo">
      <input type="text" v-model="title" name="title" placeholder="Add Todo...">
      <input type="submit" value="Submit" class="btn">
    </form>
  </div>
</template>

Screen-Shot-2020-05-11-at-8-06-44-pm

@JuneAndGreen
Copy link
Collaborator

改成 button type="submit" 试试?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants