mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-03-20 18:11:07 -05:00
fix(ui): prompt confirm checked
This commit is contained in:
@@ -227,6 +227,7 @@ async function getDefaultValue (prompt) {
|
||||
)
|
||||
}
|
||||
} else if (prompt.type === 'confirm') {
|
||||
if (prompt.raw.checked) return true
|
||||
return defaultValue || false
|
||||
}
|
||||
return defaultValue
|
||||
|
||||
Reference in New Issue
Block a user