Commit 6b99c952 authored by 李苏's avatar 李苏 💬

调整

parent 79a25025
......@@ -10,7 +10,7 @@ const router = new Router({
routes: [...modules]//路由表
});
console.log(router)
const whiteList = ['/pages/login/login']
const whiteList = ['/pages/login/login','/pages/login/cusmerLogin']
//全局路由前置守卫
router.beforeEach((to, from, next) => {
console.log(from)
......
......@@ -324,6 +324,15 @@ const routes = [
title: '收发汇总明细查询',
},
},
// 云erp
{
path: '/pages/login/cusmerLogin',
name: 'cusmerLogin',
meta: {
title: 'erplogin',
},
}
//
]
export default routes
\ No newline at end of file
{
"pages": [
// 云erp
{
"path": "pages/login/cusmerLogin",
"style": {}
},
{
"path": "pages/login/login",
"style": {}
......
This diff is collapsed.
......@@ -76,6 +76,9 @@
<!-- <image src="https://static.jeecg.com/upload/test/login4_1595818039175.png" mode="aspectFit" class="round"></image> -->
<view class="gray-text">登录中...</view>
</view>
<view @tap="changErp()" style="position: absolute;bottom: 20px;right: 10px;text-decoration:underline">
切换到格物云erp登录
</view>
</view>
</template>
......@@ -141,24 +144,6 @@
console.log("获取失败,请手动输入")
}
})
// uni.getStorage({
// key:'fwq',
// success:function(e){
// that.fwq=e.data
// },
// fail() {
// console.log("获取失败,请手动输入")
// }
// })
// uni.getStorage({
// key:'dkh',
// success:function(e){
// that.dkh=e.data
// },
// fail() {
// console.log("获取失败,请手动输入")
// }
// })
// #ifdef APP-PLUS
var that=this
plus.runtime.getProperty( plus.runtime.appid, function ( wgtinfo ) {
......@@ -186,7 +171,9 @@
},
methods: {
...mapActions([ "mLogin","PhoneLogin","ThirdLogin" ]),
changErp(){
this.$Router.replaceAll({name:'cusmerLogin'})
},
gofwqsz(){
this.$Router.push({
path: '/pages/login/fwqsz', query:{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment