mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-12-01 12:48:53 +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:
85 files changed
+938
-256
No files matched your search
@@ -15,11 +15,11 @@ export default {
|
||||
|
||||
methods: {
|
||||
update() {
|
||||
this.$set(this.value, 'value', String(this.terminationGracePeriodSeconds));
|
||||
this.value['value'] = String(this.terminationGracePeriodSeconds);
|
||||
},
|
||||
|
||||
useDefault() {
|
||||
this.$set(this, 'terminationGracePeriodSeconds', Number(this.value.default));
|
||||
this['terminationGracePeriodSeconds'] = Number(this.value.default);
|
||||
this.update();
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user