Browse Source

master elective - commands - jump detail bug fixed

hare8999@163.com 2 years ago
parent
commit
4cc4a519c9

+ 3 - 2
src/views/elective/generation/components/elective-generation-table.vue

@@ -181,8 +181,9 @@ export default {
             for (const row of this.resolvedTable.rows) {
               const val = row[subColProp]
               if (val?.generation == current) {
-                if (this.isCellQueryable(val, column)) {
-                  this.goDetails(val, column, false)
+                const subColumn = column.children[subColProp]
+                if (this.isCellQueryable(val, subColumn)) {
+                  this.goDetails(val, subColumn, false)
                   return
                 }
               }