$model会将vm中所有自定义的属性和方法显示出来 var vm=avalon.define({ $id:'ceshi', value:'值', arr:['你','我','他'], fn:function(n){ console.log(vm.$model); }, });