chore(组件): 组件尽量使用异步导入模式
This commit is contained in:
@@ -242,8 +242,7 @@ let menuButtonInfo = {};
|
||||
// #ifdef MP-WEIXIN || MP-BAIDU || MP-TOUTIAO || MP-QQ
|
||||
menuButtonInfo = uni.getMenuButtonBoundingClientRect();
|
||||
// #endif
|
||||
// 自定义会员中心——会员信息展示
|
||||
import nsContact from '@/components/ns-contact/ns-contact.vue';
|
||||
|
||||
import DiyMinx from './minx.js'
|
||||
export default {
|
||||
name: 'diy-member-info',
|
||||
@@ -260,7 +259,9 @@ export default {
|
||||
},
|
||||
mixins: [DiyMinx],
|
||||
components: {
|
||||
nsContact
|
||||
uniPopup: () => import('@/components/uni-popup/uni-popup.vue'),
|
||||
nsLogin: () => import('@/components/ns-login/ns-login.vue'),
|
||||
nsContact: () => import('@/components/ns-contact/ns-contact.vue'),
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user