提交 25b2ba35 编写于 作者: tony001's avatar tony001

调整权限过滤

上级 40e3eee0
...@@ -100,7 +100,6 @@ export default class AppActionBar extends Vue { ...@@ -100,7 +100,6 @@ export default class AppActionBar extends Vue {
* @memberof AppActionBar * @memberof AppActionBar
*/ */
public calcActionItemAuthState(data:any,ActionModel:any,UIService:any){ public calcActionItemAuthState(data:any,ActionModel:any,UIService:any){
if(Environment.enablePermissionValid){
for (const key in ActionModel) { for (const key in ActionModel) {
if (!ActionModel.hasOwnProperty(key)) { if (!ActionModel.hasOwnProperty(key)) {
return; return;
...@@ -134,7 +133,6 @@ export default class AppActionBar extends Vue { ...@@ -134,7 +133,6 @@ export default class AppActionBar extends Vue {
} }
} }
} }
}
/** /**
* 组件销毁 * 组件销毁
......
...@@ -158,7 +158,6 @@ export default class AppFormGroup extends Vue { ...@@ -158,7 +158,6 @@ export default class AppFormGroup extends Vue {
* @memberof AppFormGroup * @memberof AppFormGroup
*/ */
public calcActionItemAuthState(data:any,ActionModel:any,UIService:any){ public calcActionItemAuthState(data:any,ActionModel:any,UIService:any){
if(Environment.enablePermissionValid){
for (const key in ActionModel) { for (const key in ActionModel) {
if (!ActionModel.hasOwnProperty(key)) { if (!ActionModel.hasOwnProperty(key)) {
return; return;
...@@ -192,7 +191,6 @@ export default class AppFormGroup extends Vue { ...@@ -192,7 +191,6 @@ export default class AppFormGroup extends Vue {
} }
} }
} }
}
/** /**
* 是否为管理容器 * 是否为管理容器
......
...@@ -186,7 +186,6 @@ export default class ViewEngine { ...@@ -186,7 +186,6 @@ export default class ViewEngine {
* @memberof ViewEngine * @memberof ViewEngine
*/ */
public calcToolbarItemAuthState(data:any){ public calcToolbarItemAuthState(data:any){
if(Environment.enablePermissionValid){
const _this: any = this; const _this: any = this;
for (const key in _this.view.toolBarModels) { for (const key in _this.view.toolBarModels) {
if (!_this.view.toolBarModels.hasOwnProperty(key)) { if (!_this.view.toolBarModels.hasOwnProperty(key)) {
...@@ -221,6 +220,5 @@ export default class ViewEngine { ...@@ -221,6 +220,5 @@ export default class ViewEngine {
} }
} }
} }
}
} }
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册