chore(组件): 组件尽量使用异步导入模式
This commit is contained in:
@@ -71,11 +71,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import nsChatGoods from '@/pages_tool/components/ns-chat/ns-chat-goods.vue';
|
||||
import nsChatOrder from '@/pages_tool/components/ns-chat/ns-chat-order.vue';
|
||||
import nsChatReceiveGoods from '@/pages_tool/components/ns-chat/ns-chat-receiveGoods.vue';
|
||||
import htmlParser from '@/common/js/html-parser';
|
||||
import uniPopup from '@/components/uni-popup/uni-popup.vue';
|
||||
import htmlParser from '@/common/js/html-parser.js';
|
||||
import emjoy from '@/common/js/emjoy.js';
|
||||
|
||||
export default {
|
||||
@@ -88,6 +84,12 @@
|
||||
type: Boolean
|
||||
}
|
||||
},
|
||||
components: {
|
||||
uniPopup: () => import('@/components/uni-popup/uni-popup.vue'),
|
||||
nsChatGoods: () => import('@/pages_tool/components/ns-chat/ns-chat-goods.vue'),
|
||||
nsChatOrder: () => import('@/pages_tool/components/ns-chat/ns-chat-order.vue'),
|
||||
nsChatReceiveGoods: () => import('@/pages_tool/components/ns-chat/ns-chat-receiveGoods.vue'),
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
avatar: '', //店铺头像
|
||||
|
||||
Reference in New Issue
Block a user