提交 dbda4a7a 编写于 作者: KK's avatar KK

工具栏模板调整

上级 55ff3e36
...@@ -31,9 +31,9 @@ ...@@ -31,9 +31,9 @@
*/ */
get getToolBarLimit() { get getToolBarLimit() {
let toolBarVisable:boolean = false; let toolBarVisable:boolean = false;
if(this.righttoolbarModels){ if(this.${ctrl.name?lower_case}Models){
Object.keys(this.righttoolbarModels).forEach((tbitem:any)=>{ Object.keys(this.${ctrl.name?lower_case}Models).forEach((tbitem:any)=>{
if(this.righttoolbarModels[tbitem].type !== 'ITEMS' && this.righttoolbarModels[tbitem].visabled === true){ if(this.${ctrl.name?lower_case}Models[tbitem].type !== 'ITEMS' && this.${ctrl.name?lower_case}Models[tbitem].visabled === true){
toolBarVisable = true; toolBarVisable = true;
return; return;
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册