From c4917ccc9df2fa04c6348eb26b7333b0caeed773 Mon Sep 17 00:00:00 2001 From: zhangdaiscott Date: Mon, 8 May 2023 19:34:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=95=E5=85=A5mescroll=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/main.js b/main.js index fb95a73..fda0697 100644 --- a/main.js +++ b/main.js @@ -8,6 +8,12 @@ import configService from'./common/service/config.service.js' import router from './common/router' import {RouterMount} from './plugin/uni-simple-router/index.js' +//引入mescroll插件 +import MescrollBody from "@/components/mescroll-uni/mescroll-body.vue" +import MescrollUni from "@/components/mescroll-uni/mescroll-uni.vue" +Vue.component('mescroll-body', MescrollBody); +Vue.component('mescroll-uni', MescrollUni); + // 注册缓存器 Vue.use(MinCache,{timeout: 6})