Vue migration - remove Vuew.set & this.$set; add vue-migrate script

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
Francesco Torchia
2024-10-23 17:00:48 +02:00
parent c983ed8384
commit ea12a81174
85 changed files with 938 additions and 256 deletions
@@ -183,7 +183,7 @@ export default {
const value = Object.keys(out).length ? JSON.stringify(out) : '';
this.$set(this.value, 'value', value);
this.value['value'] = value;
},
addMirror() {
@@ -210,8 +210,8 @@ export default {
value: {
handler(value) {
if (!value.value) { // useDefaultVale
this.$set(this, 'mirrors', []);
this.$set(this, 'configs', []);
this['mirrors'] = [];
this['configs'] = [];
this.update();
}
},