mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-04 13:16:05 +08:00
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:
@@ -30,7 +30,7 @@ export default {
|
||||
update() {
|
||||
const value = JSON.stringify(this.parseDefaultValue);
|
||||
|
||||
this.$set(this.value, 'value', value);
|
||||
this.value['value'] = value;
|
||||
}
|
||||
},
|
||||
|
||||
@@ -39,7 +39,7 @@ export default {
|
||||
handler(neu) {
|
||||
const parseDefaultValue = JSON.parse(neu.value);
|
||||
|
||||
this.$set(this, 'parseDefaultValue', parseDefaultValue);
|
||||
this['parseDefaultValue'] = parseDefaultValue;
|
||||
},
|
||||
deep: true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user