Commit c344e330 authored by Gakki's avatar Gakki

修改手机号路由注册

parent 63d3fe4f
......@@ -105,6 +105,10 @@
{
"path": "/danger/propertyScore/propertyPhoneList/addPhone", "name": "addPhone",
"meta": { "title": "添加手机号", "menuPath": false, "menuIcon": "profile", "hideInBread": false }
},
{
"path": "/danger/propertyScore/propertyPhoneList/modifyPhone", "name": "modifyPhone",
"meta": { "title": "修改手机号", "menuPath": false, "menuIcon": "profile", "hideInBread": false }
}
]
}
......
......@@ -44,7 +44,7 @@ const reponseCodeHandler = (res) => {
}else if (code == '912') {
//在refresh token 里的返回里已做处理,这里不做额外提示
}else if (code == '500') {
router.push({ name: 'networkErr' })
// router.push({ name: 'networkErr' })
} else{
if(Common.oneOf(currentMethod.toLocaleLowerCase(), ['post', 'put', 'delete'])){
Modal.error({
......@@ -61,18 +61,18 @@ const reponseCodeHandler = (res) => {
const showErrPage= (api, routername) => {
if(Common.oneOf(routername, ['login', 'register', 'bindPhone'])){
if(!Common.oneOf(api, ['/service-release/release/public/news'])){
router.push({
name: 'outerNetworkerr'
})
// router.push({
// name: 'outerNetworkerr'
// })
}
}else if(!!routername && routername.length>0){
router.push({
name: 'innerNetworkerr'
})
// router.push({
// name: 'innerNetworkerr'
// })
}else{
router.push({
name: 'outerNetworkerr'
})
// router.push({
// name: 'outerNetworkerr'
// })
}
}
......
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