|
@@ -18,6 +18,15 @@ if (location.hostname === 'localhost') {
|
|
Vue.prototype.HTTPLOCAT = http + ''
|
|
Vue.prototype.HTTPLOCAT = http + ''
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+router.beforeEach((to, from, next) => {
|
|
|
|
+ if (to.query.test) {
|
|
|
|
+ if (to.query.test == 'test') {
|
|
|
|
+ let vConsole = new Vconsole()
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ next();
|
|
|
|
+})
|
|
|
|
+
|
|
Vue.config.productionTip = false
|
|
Vue.config.productionTip = false
|
|
new Vue({
|
|
new Vue({
|
|
router,
|
|
router,
|