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

Search组件按照官网写法报错 #2069

Closed
zhenghuochao opened this issue Sep 30, 2017 · 4 comments
Closed

Search组件按照官网写法报错 #2069

zhenghuochao opened this issue Sep 30, 2017 · 4 comments

Comments

@zhenghuochao
Copy link

zhenghuochao commented Sep 30, 2017

<search @on-submit="onSubmit" :auto-fixed="false" v-model="keywords" @on-focus="onFocus" @on-cancel="onCancel"></search>
 methods: {
        onSubmit (val) {
          window.alert('on submit' + val)
        },
        onCancel () {
          console.log('on cancel')
        },
        onFocus () {
          console.log('on focus')
        }
@zhenghuochao
Copy link
Author

image

@airyland
Copy link
Owner

根据这个报错看不出是这个组件导致的

@airyland
Copy link
Owner

airyland commented Oct 2, 2017

请给出可重现仓库再重开当前 issue。

@airyland airyland closed this as completed Oct 2, 2017
@ccnana
Copy link

ccnana commented Jul 8, 2018

因为name重复了。

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

No branches or pull requests

3 participants