From 60e3899349c02b9445e945cf180a02c899603277 Mon Sep 17 00:00:00 2001 From: qiang Date: Sun, 8 Aug 2021 15:27:29 +0800 Subject: [PATCH] Revert "fix: vue3 scopedSlotsCompiler" This reverts commit 45940f56fb4dae89f0527650da0ae75d9e128fd1. --- packages/vue-cli-plugin-uni/lib/env.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/vue-cli-plugin-uni/lib/env.js b/packages/vue-cli-plugin-uni/lib/env.js index 1da6e15b15..e720fbf64e 100644 --- a/packages/vue-cli-plugin-uni/lib/env.js +++ b/packages/vue-cli-plugin-uni/lib/env.js @@ -283,10 +283,6 @@ process.env.SCOPED_SLOTS_COMPILER = modes.includes(scopedSlotsCompiler) ? scoped if (process.env.UNI_PLATFORM === 'mp-kuaishou' && process.env.SCOPED_SLOTS_COMPILER !== modes[0]) { process.env.SCOPED_SLOTS_COMPILER = modes[2] } -// Vue3 暂时固定为 legacy 模式 -if (process.env.UNI_USING_VUE3) { - process.env.SCOPED_SLOTS_COMPILER = modes[0] -} if ( process.env.UNI_USING_COMPONENTS || -- GitLab