Vue 报错
[Vue warn]: Property or method "visitor" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.
Vue 方法调用报错了,报错大意为 :
属性或方法“XX”未在实例上定义,但在被引用
解决方案 :
检查你的方法是否写在 methods 里面,检查方法名称是否正确
methods: {
}