text: (window.webpackJsonp=window.webpackJsonp||[]).push([[24],{355:function(t,e,n){"use strict";n.r(e);var r=n(1),s=Object(r.a)({},function(){this.$createElement;this._self._c;return this._m(0)},[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"content"},[e("h4",{attrs:{id:"vue原理"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#vue原理","aria-hidden":"true"}},[this._v("#")]),this._v(" vue原理")]),this._v(" "),e("pre",[e("code",[this._v("let obj = {\n    _year : 2004\n};\nObject.defineproperty(obj,'year',function(){\n    get:function(){\n        return this._year\n    }\n    set:function(year){\n        this._year = year;\n    }\n})")])])])}],!1,null,null,null);e.default=s.exports}}]);