Skip to content

Commit 3e16924

Browse files
committed
fix: model event is update instead of input since @vue/ui 0.6
1 parent 14e54dc commit 3e16924

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

packages/@vue/cli-ui/src/components/app/ProjectQuickDropdown.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
:value="projectCurrent.favorite"
1414
:icon="projectCurrent.favorite ? 'star' : 'star_border'"
1515
class="extend-left"
16-
@input="toggleCurrentFavorite()"
16+
@update="toggleCurrentFavorite()"
1717
>
1818
{{ $t('org.vue.components.project-select-list-item.tooltips.favorite') }}
1919
</VueSwitch>

packages/@vue/cli-ui/src/components/prompt/PromptCheckbox.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
:value="isCheckboxSelected(choice)"
1717
:disabled="choice.disabled"
1818
class="right"
19-
@input="value => asnwerCheckbox(choice, value)"
19+
@update="value => asnwerCheckbox(choice, value)"
2020
>
2121
{{ $t(choice.name) }}
2222
</VueSwitch>

packages/@vue/cli-ui/src/components/prompt/PromptColor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<VueInput
1717
slot="trigger"
1818
:value="value(prompt.value)"
19-
@input="value => answer(value)"
19+
@update="value => answer(value)"
2020
>
2121
<div slot="right" class="color-preview">
2222
<div class="color-swatch" :style="{

packages/@vue/cli-ui/src/components/prompt/PromptConfirm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<VueSwitch
77
:value="value(prompt.value)"
88
class="extend-left"
9-
@input="value => answer(value)"
9+
@update="value => answer(value)"
1010
>
1111
<ListItemInfo
1212
:name="$t(prompt.message)"

packages/@vue/cli-ui/src/components/prompt/PromptInput.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<VueInput
1515
:value="value(prompt.value)"
1616
:type="prompt.type === 'password' ? 'password' : 'text'"
17-
@input="value => answer(value)"
17+
@update="value => answer(value)"
1818
/>
1919
</div>
2020
</div>

packages/@vue/cli-ui/src/components/prompt/PromptList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<div class="prompt-input">
1414
<VueSelect
1515
:value="value(prompt.value)"
16-
@input="value => answer(value)"
16+
@update="value => answer(value)"
1717
>
1818
<VueSelectButton
1919
v-for="(choice, index) of prompt.choices"

0 commit comments

Comments
 (0)