Commit 879bc53e by 前端

修复bug

1 parent 488675f2
...@@ -502,7 +502,7 @@ MapService.prototype = { ...@@ -502,7 +502,7 @@ MapService.prototype = {
// 跳转到电子围栏页面 无线设备不能跳转电子围栏 isSource:1有线,其他无线 // 跳转到电子围栏页面 无线设备不能跳转电子围栏 isSource:1有线,其他无线
let fenceBtn = infoDiv.querySelector('[data-fence]'); let fenceBtn = infoDiv.querySelector('[data-fence]');
// 判断是否分配了电子围栏按钮权限 // 判断是否分配了电子围栏按钮权限
let fencePermission = vue.prototype.$parentCommon.hasPermission('ADD_WIRELESS_DEVICE_FENCE',true); let fencePermission = vue.prototype.$parentCommon.isPermission('ADD_WIRELESS_DEVICE_FENCE');
//console.log(vue.$parentCommon.hasPermission); //console.log(vue.$parentCommon.hasPermission);
if (fenceBtn) { if (fenceBtn) {
if (!fencePermission) { if (!fencePermission) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!