来源 vm.options 1.$refs 获取dom元素 2.$el 获取Vue实例关联的DOM元素 3.$data 获取Vue实例的data选项(对象) 4.$options 获取Vue实例的自定义属性(如vm.$options.methods,获取Vue实例的自定义属性methods)