From d8f6c671a613b841566c8d7b1f36eb2bb9640ea9 Mon Sep 17 00:00:00 2001
From: DESKTOP-CVS3R96\我恁爹 <11>
Date: Tue, 15 Nov 2022 04:15:27 +0800
Subject: [PATCH] 多于元
---
src/main.js | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/main.js b/src/main.js
index 433e2b3..d0b1c57 100644
--- a/src/main.js
+++ b/src/main.js
@@ -11,8 +11,11 @@
import state from './event'
import Vant from 'vant';
import 'vant/lib/index.css';
-import { Swipe, SwipeItem, Skeleton, Switch } from 'vant';
+import { Swipe, SwipeItem, Skeleton, Switch, Notify } from 'vant';
+import i18n from '@/locales';
import './assets/css/style.css';
+
+
@@ -35,6 +38,7 @@
Vue.use(animated)
Vue.use(ElementUI)
Vue.use(VueClipboard)
+
// Vue.use(VueTouch, { name: 'v-touch' })
// // Vue.prototype.$md5 = md5
// VueTouch.config.swipe = {
@@ -44,7 +48,8 @@
Vue.use(Vant);
Vue.use(Mint)
Vue.use(Tab);
-Vue.use(Tabs, Popup, DatetimePicker, Switch);
+Vue.prototype._i18n = i18n;
+Vue.use(Tabs, Popup, DatetimePicker, Switch, Notify);
Vue.component('icon', Icon)
Vue.config.productionTip = false
Object.keys(filters).forEach(key => {
@@ -150,6 +155,7 @@
new Vue({
el: '#app',
+ i18n,
store,
router,
axios,
--
Gitblit v1.9.3