From e0c6f45afbe5f46e80b998ec83b87423adc5b6d3 Mon Sep 17 00:00:00 2001 From: fxy060608 Date: Thu, 13 Jan 2022 17:20:52 +0800 Subject: [PATCH] chore: remove unused tips --- packages/vue-cli-plugin-uni/lib/env.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/vue-cli-plugin-uni/lib/env.js b/packages/vue-cli-plugin-uni/lib/env.js index 70cbc481ef..da0d52d3b5 100644 --- a/packages/vue-cli-plugin-uni/lib/env.js +++ b/packages/vue-cli-plugin-uni/lib/env.js @@ -352,9 +352,7 @@ if (process.env.UNI_USING_NATIVE || process.env.UNI_USING_V3_NATIVE) { if (process.env.UNI_PLATFORM === 'app-plus') { const pagesPkg = require('@dcloudio/webpack-uni-pages-loader/package.json') if (pagesPkg) { - const v3Tips = `(v3)${uniI18n.__('see')}:https://ask.dcloud.net.cn/article/36599。` - info = uniI18n.__('compilerVersion') + ':' + pagesPkg['uni-app'].compilerVersion + (process.env.UNI_USING_V3 - ? v3Tips : '') + info = uniI18n.__('compilerVersion') + ':' + pagesPkg['uni-app'].compilerVersion } if (process.env.UNI_USING_V3) { console.log(info) -- GitLab