shilipojs пре 2 година
родитељ
комит
53aaa1694c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/components/MxCondition/condition-object/condition-exe-grade.js

+ 1 - 1
src/components/MxCondition/condition-object/condition-exe-grade.js

@@ -13,7 +13,7 @@ export default {
   title: '学册',
   getList: function(param,$ref) {
     return new Promise((resolve, reject) => {
-      smartGradeList({subjectId:$ref.model.exeSubject,editionId:param.exeOrder}).then(res => resolve(res.data))
+      smartGradeList({subjectId:$ref.model.exeSubject,editionId:param.exeOrder}).then(res => resolve(res.data  || []))
         .catch(e => reject(e))
     })
   },