Sfoglia il codice sorgente

修复人员选择单选可能存在的bug

unknown 5 anni fa
parent
commit
ef5b7cd9ad
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      o2web/source/x_component_Selector/Person.js

+ 1 - 0
o2web/source/x_component_Selector/Person.js

@@ -1978,6 +1978,7 @@ MWF.xApplication.Selector.Person.Item = new Class({
     selectedSingle: function( checkValid ){
         if (!this.isSelected){
             if (this.selector.currentItem) this.selector.currentItem.unSelectedSingle();
+            this.selector.emptySelectedItems();
             this.getData(function(){
                 this.selector.currentItem = this;
                 this.isSelected = true;