|
@@ -30,18 +30,21 @@
|
|
} else {
|
|
} else {
|
|
this.$u.route({
|
|
this.$u.route({
|
|
url: "pages/login/index",
|
|
url: "pages/login/index",
|
|
- type:"redirect"
|
|
|
|
|
|
+ type: "redirect"
|
|
})
|
|
})
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onLaunch() {
|
|
onLaunch() {
|
|
|
|
+ console.log("卧槽??????")
|
|
|
|
+ this.$u.route({
|
|
|
|
+ url: 'pages/login/upgrade'
|
|
|
|
+ })
|
|
// 1.1.0版本之前关于http拦截器代码,已平滑移动到/common/http.interceptor.js中
|
|
// 1.1.0版本之前关于http拦截器代码,已平滑移动到/common/http.interceptor.js中
|
|
// 注意,需要在/main.js中实例化Vue之后引入如下(详见文档说明):
|
|
// 注意,需要在/main.js中实例化Vue之后引入如下(详见文档说明):
|
|
// import httpInterceptor from '@/common/http.interceptor.js'
|
|
// import httpInterceptor from '@/common/http.interceptor.js'
|
|
// Vue.use(httpInterceptor, app)
|
|
// Vue.use(httpInterceptor, app)
|
|
},
|
|
},
|
|
- onShow() {
|
|
|
|
- }
|
|
|
|
|
|
+ onShow() {}
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
|
|
|