mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-03 20:56:06 +08:00
Switching our $emit('input' to $emit('update:value' to be in line with the new way v-model works
This commit is contained in:
+1
-1
@@ -118,7 +118,7 @@ export default {
|
||||
},
|
||||
|
||||
update() {
|
||||
this.$emit('input', this.rows);
|
||||
this.$emit('update:value', this.rows);
|
||||
},
|
||||
|
||||
updateNewUser(newUser) {
|
||||
|
||||
@@ -117,7 +117,7 @@ export default {
|
||||
},
|
||||
|
||||
update() {
|
||||
this.$emit('input', this.rows);
|
||||
this.$emit('update:value', this.rows);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -455,7 +455,7 @@ export default {
|
||||
|
||||
<NameNsDescription
|
||||
:value="value"
|
||||
@update:value="$emit('input', $event)"
|
||||
@update:value="$emit('update:value', $event)"
|
||||
:mode="mode"
|
||||
:has-extra="!isSingle"
|
||||
:name-label="nameLabel"
|
||||
|
||||
Reference in New Issue
Block a user