Explorar o código

refactor: use Vue.set

Gerald %!s(int64=9) %!d(string=hai) anos
pai
achega
bc6a983458
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/options/app.js

+ 1 - 1
src/options/app.js

@@ -7,7 +7,7 @@ function initMain() {
       'scripts',
       'sync',
     ].forEach(function (key) {
-      store[key] = data[key];
+      Vue.set(store, key, data[key]);
     });
     store.loading = false;
     // utils.features.reset(data.version);