调整坐标布局
This commit is contained in:
parent
73d5b4c4fa
commit
82222027c0
@ -42,7 +42,7 @@ export default {
|
|||||||
},
|
},
|
||||||
grid: [{
|
grid: [{
|
||||||
top: '17%',
|
top: '17%',
|
||||||
width: '50%',
|
width: '45%',
|
||||||
bottom: '5%',
|
bottom: '5%',
|
||||||
left: 50,
|
left: 50,
|
||||||
containLabel: true
|
containLabel: true
|
||||||
@ -138,7 +138,11 @@ export default {
|
|||||||
};
|
};
|
||||||
|
|
||||||
(this.permissionList.filter(elem => { return elem.mapName == mapName; })|| []).forEach(elem => {
|
(this.permissionList.filter(elem => { return elem.mapName == mapName; })|| []).forEach(elem => {
|
||||||
|
if (elem.mapProductName == Object.keys(permissionMap)[Object.keys(permissionMap).length -1]) {
|
||||||
|
permissionMap[`${elem.mapProductName}`] = elem.remains;
|
||||||
|
} else {
|
||||||
permissionMap[`${elem.mapProductName}-${permissionDict[elem.type]}`] = elem.remains;
|
permissionMap[`${elem.mapProductName}-${permissionDict[elem.type]}`] = elem.remains;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
const keys = Object.keys(permissionMap);
|
const keys = Object.keys(permissionMap);
|
||||||
|
Loading…
Reference in New Issue
Block a user