Explorar el Código

fix sort locationflag

haojianlong hace 5 años
padre
commit
77375d00f8
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/utils/handsontable/delType.js

+ 2 - 0
src/utils/handsontable/delType.js

@@ -3,6 +3,8 @@ let tagsFun = (instance, td, row, col, prop, value, cellProperties) => {
     if (!!value) {
         let arr = value || [],
             dom = ``;
+        arr = arr.sort()
+        debugger
         arr.map((item, index) => {
             if (index > 2) {