Explorar el Código

combogrid 选定之后不能做清空

liuwc hace 3 años
padre
commit
7d4f27eb20
Se han modificado 1 ficheros con 7 adiciones y 6 borrados
  1. 7 6
      src/controls/input/combogrid.js

+ 7 - 6
src/controls/input/combogrid.js

@@ -260,12 +260,13 @@ export default function () {
                 me._lookupSet(toTarget, value)
             })
 
-            const {lookupClearOnChange} = me
-            if (_.isArray(lookupClearOnChange)) {
-                _.each(lookupClearOnChange, item => {
-                    me._lookupSet(item, '')
-                })
-            }
+            // 选定之后不能做清空
+            // const {lookupClearOnChange} = me
+            // if (_.isArray(lookupClearOnChange)) {
+            //     _.each(lookupClearOnChange, item => {
+            //         me._lookupSet(item, '')
+            //     })
+            // }
 
             me.collapse();
         },