Explorar el Código

generation - summary table - should-merge-condition changed

hare8999@163.com hace 2 años
padre
commit
808c49a3fd

+ 1 - 1
src/views/elective/generation/components/elective-generation-table.vue

@@ -110,7 +110,7 @@ export default {
       // resolve core
       const prop = prefix + ext.generation + '_' + data.category
       const name = data.displayName
-      const shouldMerge = data.values.length != rowsRef.length || data.values.some(v => v.groupId == 0)
+      const shouldMerge = data.values.some(v => v.groupId == 0)
       if (data.queryCode) {
         let nextName = data.displayName
         if (overrideQueryName) nextName = overrideQueryName + '/' + nextName