老师,我通过require加载vue,在require下创建vue实例,html写<input type="checkbox" @click="delete(index)"/>,无法调用vue实例下methods:{delete:function(alert(index)){}}
2018-05-04
举报