@@ -98,6 +98,9 @@ const checkAuth = (to, from, next) => {
next();
} else {
mui.toast('无权访问');
+ router.replace({
+ name: 'Master'
+ })
}
@@ -11,7 +11,7 @@
<h4 class="flew-items"><span class="iconfont icon-zhengjian"></span>{{detail.idCard}}</h4>
<h4 class=""><span class="iconfont icon-shouye"></span>{{liveRegionIdName}} {{detail.liveDetailAddress}}</h4>
</div>
- <a :href="'tel:'+detail.phone">
+ <a @click="tel(detail.phone)">
<span class="iconfont icon-dianhua3"></span>
<div class="mui-media-body">拨打电话</div>
</a>
@@ -162,6 +162,10 @@
mui.toast(error);
})
},
+ //播打电话
+ tel(phone) {
+ window.top.location.href = 'tel:' + phone;
+ },
asynCallBack() {},
mounted() {