定义全局loding
This commit is contained in:
@@ -13,6 +13,7 @@ import 'vant/lib/index.css'
|
||||
import { Locale } from 'vant';
|
||||
import enUS from 'vant/es/locale/lang/en-US';
|
||||
Locale.use('en-US', enUS);
|
||||
import { Loading } from 'vant';
|
||||
|
||||
|
||||
import flexible from "./utils/flexible.js";
|
||||
@@ -32,6 +33,7 @@ document.addEventListener('touchend', function(event) {
|
||||
const app = createApp(App)
|
||||
app.use(router)
|
||||
.use(store)
|
||||
.use(Loading)
|
||||
.component("SvgIcon", SvgIcon)
|
||||
.mount('#app')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user