chore(组件): 全局组件改为按需引用
This commit is contained in:
@@ -134,6 +134,10 @@
|
||||
<script>
|
||||
import uniPopup from '@/components/uni-popup/uni-popup.vue';
|
||||
import nsNavbar from '@/components/ns-navbar/ns-navbar.vue';
|
||||
import nsLogin from '@/components/ns-login/ns-login.vue';
|
||||
// #ifdef MP-WEIXIN
|
||||
import privacyPopup from '@/components/wx-privacy-popup/privacy-popup.vue';
|
||||
// #endif
|
||||
import diyJs from '@/common/js/diy.js';
|
||||
import indexJs from './public/js/index.js';
|
||||
import toTop from '@/components/toTop/toTop.vue';
|
||||
@@ -144,7 +148,11 @@
|
||||
components: {
|
||||
uniPopup,
|
||||
nsNavbar,
|
||||
toTop
|
||||
toTop,
|
||||
nsLogin,
|
||||
// #ifdef MP-WEIXIN
|
||||
privacyPopup
|
||||
// #endif
|
||||
},
|
||||
mixins: [diyJs, scroll, indexJs]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user