Преглед на файлове

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