|
@@ -5,6 +5,8 @@ import store from './store'
|
|
import Vcomp from './components/index'
|
|
import Vcomp from './components/index'
|
|
import fullscreen from 'vue-fullscreen'
|
|
import fullscreen from 'vue-fullscreen'
|
|
import screenfull from "screenfull";
|
|
import screenfull from "screenfull";
|
|
|
|
+import Toast from './components/toast'
|
|
|
|
+
|
|
|
|
|
|
import '@/assets/styles/base.scss'
|
|
import '@/assets/styles/base.scss'
|
|
import '@/assets/styles/common.scss'
|
|
import '@/assets/styles/common.scss'
|
|
@@ -15,6 +17,8 @@ Vue.use(screenfull)
|
|
|
|
|
|
Vue.config.productionTip = false
|
|
Vue.config.productionTip = false
|
|
|
|
|
|
|
|
+Vue.prototype.$Toast = Toast
|
|
|
|
+
|
|
|
|
|
|
router.beforeEach((to, from, next) => {
|
|
router.beforeEach((to, from, next) => {
|
|
if (to.meta.title) {
|
|
if (to.meta.title) {
|