From 374f696190f3ec052ac35366630a6d6f4daa838f Mon Sep 17 00:00:00 2001 From: haoziqaq <357229046@qq.com> Date: Thu, 4 Jan 2024 15:13:19 +0800 Subject: [PATCH] fix(cli): fix config default value --- packages/varlet-cli/src/node/config/varlet.default.config.ts | 2 +- packages/varlet-ui/varlet.config.mjs | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/varlet-cli/src/node/config/varlet.default.config.ts b/packages/varlet-cli/src/node/config/varlet.default.config.ts index e7264e7f194..d8b675e2e42 100644 --- a/packages/varlet-cli/src/node/config/varlet.default.config.ts +++ b/packages/varlet-cli/src/node/config/varlet.default.config.ts @@ -426,7 +426,7 @@ export default defineConfig({ 'zh-CN': '中文', 'en-US': 'English', }, - currentVersion: 'v2.x', + currentVersion: 'Latest', versions: [ { name: 'varlet.gitee.io', diff --git a/packages/varlet-ui/varlet.config.mjs b/packages/varlet-ui/varlet.config.mjs index 747c17e7bb5..a7e08bf614c 100644 --- a/packages/varlet-ui/varlet.config.mjs +++ b/packages/varlet-ui/varlet.config.mjs @@ -7,9 +7,8 @@ export default defineConfig({ }, pc: { header: { - version: { - current: 'Vue 3', - }, + currentVersion: 'v2.x', + versions: null, playground: process.env.NODE_ENV === 'development' ? 'http://localhost:3000'