Просмотр исходного кода

elective - detail group descriptors sort

hare8999@163.com 2 лет назад
Родитель
Сommit
90d982d018
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/views/elective/generation/detail.vue

+ 1 - 1
src/views/elective/generation/detail.vue

@@ -216,7 +216,7 @@ export default {
     getGroupHeaderDescription(groupId) {
       const statistic = this.detailWrapper.groupDescriptors.find(d => d.groupId == groupId)
       if (!statistic?.descriptors?.length) return {}
-      const descriptors = statistic.descriptors.reverse()
+      const descriptors = statistic.descriptors //.reverse()
       return {
         text: descriptors.map(d => d.value).join('/'),
         descriptions: descriptors