chore(组件): 全局组件改为按需引用
This commit is contained in:
@@ -149,8 +149,19 @@
|
||||
<script>
|
||||
import orderMethod from './public/js/orderMethod.js';
|
||||
import nsPayment from '@/components/payment/payment.vue';
|
||||
import MescrollUni from '@/components/mescroll/mescroll-uni.vue';
|
||||
import nsLogin from '@/components/ns-login/ns-login.vue';
|
||||
import loadingCover from '@/components/loading-cover/loading-cover.vue';
|
||||
import nsEmpty from '@/components/ns-empty/ns-empty.vue';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
nsPayment,
|
||||
MescrollUni,
|
||||
nsLogin,
|
||||
loadingCover,
|
||||
nsEmpty
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
scrollInto: '',
|
||||
@@ -175,9 +186,7 @@
|
||||
isTradeManaged: false // 检测微信小程序是否已开通发货信息管理服务
|
||||
};
|
||||
},
|
||||
components: {
|
||||
nsPayment
|
||||
},
|
||||
|
||||
mixins: [orderMethod],
|
||||
onLoad(option) {
|
||||
if (option.status) this.orderStatus = option.status;
|
||||
|
||||
Reference in New Issue
Block a user