Commit 99b7fea5 by 梁建民

pc跳转

parent fca7001e
...@@ -171,7 +171,7 @@ export default { ...@@ -171,7 +171,7 @@ export default {
} else if (!!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)) { } else if (!!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)) {
platform = 'ios' platform = 'ios'
} else { } else {
platform = '' platform = 'pc'
} }
return platform; return platform;
}, },
......
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
import {mapState} from 'vuex' import {mapState} from 'vuex'
import {Toast} from 'vant'; import {Toast} from 'vant';
import {productionUrlPc} from '../../api/index' import {productionUrlPc} from '../../api/index'
import Util from '../../util/index'
export default { export default {
name: 'risk', name: 'risk',
...@@ -59,6 +60,9 @@ ...@@ -59,6 +60,9 @@
} }
}, },
created() { created() {
if(Util.isUerAgent() == 'pc'){
window.location.href=productionUrlPc+'home/risk ';
}
this.imgSrc = productionUrlPc + 'public/verify'; this.imgSrc = productionUrlPc + 'public/verify';
}, },
watch: { watch: {
......
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 sign in to comment