From 915424730f27445da2e8de13b62e77179cc1a15a Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 18 八月 2025 17:07:39 +0800
Subject: [PATCH] fix: 关闭移动充值渠道,打开电信充值渠道
---
apps/taro/config/index.js | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/apps/taro/config/index.js b/apps/taro/config/index.js
index 3ddf2cc..83f8f71 100644
--- a/apps/taro/config/index.js
+++ b/apps/taro/config/index.js
@@ -5,6 +5,8 @@
import ComponentsPlugin from 'unplugin-vue-components/webpack';
import NutUIResolver from '@nutui/nutui-taro/dist/resolver';
+const rootPath = path.resolve(__dirname, '..', '..', '..');
+
const config = {
projectName: 'vue-mini',
date: '2022-11-29',
@@ -24,12 +26,7 @@
},
alias: {
'@': path.resolve(__dirname, '..', 'src'),
- '@life-payment/components': path.resolve(
- __dirname,
- '..',
- 'node_modules',
- '@life-payment/components'
- ),
+ '@life-payment/components': path.resolve(rootPath, 'packages', 'components'),
},
sourceRoot: 'src',
outputRoot: `dist/${process.env.TARO_ENV}`,
--
Gitblit v1.9.1