mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-04 21:26:08 +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:
@@ -39,7 +39,7 @@ export default {
|
||||
setting.canReset || !!this.value.default || this.value.canReset;
|
||||
|
||||
if (this.value.value === undefined) {
|
||||
this.$set(this.value, 'value', null);
|
||||
this.value['value'] = null;
|
||||
}
|
||||
|
||||
this.value.value = this.value.value || this.value.default || '';
|
||||
|
||||
Reference in New Issue
Block a user