@@ -181,6 +181,11 @@ export default {
uni.navigateTo({ url: '/pages/news/list?keyword=' + this.keyword });
},
navTo(url) {
+ //收购商需要认证才给访问
+ if (this.getUser().userType == 3 && !this.hasAuth()) {
+ uni.navigateTo({ url: '/pages/authentication/index' });
+ return;
+ }
uni.navigateTo({
url: url,
fail: res => {