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:
@@ -122,7 +122,7 @@ export default {
|
||||
|
||||
const value = this.configArr.length ? JSON.stringify(out) : '';
|
||||
|
||||
this.$set(this.value, 'value', value);
|
||||
this.value['value'] = value;
|
||||
},
|
||||
|
||||
willSave() {
|
||||
@@ -172,7 +172,7 @@ export default {
|
||||
useDefault() {
|
||||
const configArr = this.parseValue(this.value.default);
|
||||
|
||||
this.$set(this, 'configArr', configArr);
|
||||
this['configArr'] = configArr;
|
||||
this.update();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user