From ff814475caa8cebd2d6df5aa05758e4d43d0f866 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E4=BF=8A?= Date: Tue, 17 Jan 2023 21:42:24 +0800 Subject: [PATCH] fix(create-vant-cli-app): prompt config bug (#11497) * fix(create-vant-cli-app): prompt config bug * fix(create-vant-cli-app): prompt config bug Co-authored-by: xiejun --- packages/create-vant-cli-app/src/generator.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/create-vant-cli-app/src/generator.ts b/packages/create-vant-cli-app/src/generator.ts index b478b1436..15b5ff7bd 100644 --- a/packages/create-vant-cli-app/src/generator.ts +++ b/packages/create-vant-cli-app/src/generator.ts @@ -13,12 +13,12 @@ const PROMPTS = [ type: 'select', choices: [ { - name: 'Vue 2', - value: 'vue2', + name: 'vue2', + message: 'Vue 2', }, { - name: 'Vue 3', - value: 'vue3', + name: 'vue3', + message: 'Vue 3', }, ], },