ソースを参照

update: make the properties of the object configurable

HcySunYang 7 年 前
コミット
adb26c02d5
1 ファイル変更1 行追加0 行削除
  1. 1 0
      docs/art/7vue-reactive.md

+ 1 - 0
docs/art/7vue-reactive.md

@@ -1256,6 +1256,7 @@ new Vue({
 const data = {}
 Object.defineProperty(data, 'getterProp', {
   enumerable: true,
+  configurable: true,
   get: () => {
     return {
       a: 1