Commit 99b7fea5 by 梁建民

pc跳转

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