chore(组件): 组件尽量使用异步导入模式

This commit is contained in:
2026-01-04 14:40:00 +08:00
parent 4da852944e
commit 9415f397d2
172 changed files with 11520 additions and 10979 deletions

View File

@@ -43,9 +43,6 @@
<!-- 新版支付组件 订单表为order表 的订单支付时使用该组件 -->
<script>
import uniPopup from '@/components/uni-popup/uni-popup.vue';
import nsSwitch from '@/components/ns-switch/ns-switch.vue';
// #ifdef H5
import {
Weixin
@@ -55,8 +52,8 @@
export default {
name: 'payment',
components: {
uniPopup,
nsSwitch
uniPopup: () => import('@/components/uni-popup/uni-popup.vue'),
nsSwitch: () => import('@/components/ns-switch/ns-switch.vue'),
},
props: {
// 是否可用余额支付