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

events报错? 我怀疑所有的events全部不能用 #21

Open
vdjango opened this issue Dec 14, 2018 · 1 comment
Open

events报错? 我怀疑所有的events全部不能用 #21

vdjango opened this issue Dec 14, 2018 · 1 comment

Comments

@vdjango
Copy link

vdjango commented Dec 14, 2018

<template>
    <div id="editor">
        <mavon-editor v-model="value" @change="change" @imgAdd="imgAdd" />
    </div>
</template>
<script>
export default {
        name: 'editor',
        data() {
            return { value: '' }
        }, 
        method: {
            change(value){
                console.log('change', value)
            },
            imgAdd(name, file){
                console.log('imgAdd', name)
            },
        }
    }
</script>

image

这是什么情况

@loveklmn
Copy link

loveklmn commented Nov 4, 2021

method -> methods

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