Просмотр исходного кода

Merge branch 'fix/o2Identity_set_lazyload' into 'develop'

Merge of fix/[流程管理]o2identity设置成懒加载 to develop

See merge request o2oa/o2oa!1236
蔡祥熠 5 лет назад
Родитель
Сommit
ecc6319935
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      o2web/source/o2_core/o2/widget/O2Identity.js

+ 2 - 2
o2web/source/o2_core/o2/widget/O2Identity.js

@@ -7,7 +7,7 @@ o2.widget.O2Identity = new Class({
 	options: {
 		"style": "default",
         "canRemove": false,
-        "lazy": false,
+        "lazy": true,
         "disableInfor" : false
 	},
 	initialize: function(data, container, options){
@@ -48,7 +48,7 @@ o2.widget.O2Identity = new Class({
             }.bind(this));
         }
 
-        if( !this.options.disableInfor ){
+        if( !this.options.disableInfor && !layout.mobile){
             if (!this.options.lazy ){
                 this.createInforNode(function(){
                     this.fireEvent("loadedInfor", [this]);