提交 2bea67cc 编写于 作者: tony001's avatar tony001

适配分页导航面板主状态逻辑 --- fix1

上级 6bebfed6
...@@ -150,7 +150,7 @@ import { Environment } from '@/environments/environment'; ...@@ -150,7 +150,7 @@ import { Environment } from '@/environments/environment';
* @memberof ${srfclassname('${ctrl.codeName}')}Base * @memberof ${srfclassname('${ctrl.codeName}')}Base
*/ */
public computedAuthPanel(data:any){ public computedAuthPanel(data:any){
if(!data || Object.keys(data) === 0){ if(!data || Object.keys(data).length === 0){
return; return;
} }
if(this.authResourceObject && Object.keys(this.authResourceObject).length >0){ if(this.authResourceObject && Object.keys(this.authResourceObject).length >0){
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册