zhangjie %!s(int64=3) %!d(string=hai) anos
pai
achega
ac957cffc8

+ 2 - 2
src/modules/analysis/components/baseConfig/CommentConfig.vue

@@ -150,7 +150,7 @@ export default {
         const item = this.knowledgeList[i];
         if (i) {
           const prevItem = this.knowledgeList[i - 1];
-          if (prevItem.startRate - 1 !== item.endRate) {
+          if (prevItem.startRate !== item.endRate) {
             this.errorMsg = "请保证知识维度划分规则区间连续";
             return;
           }
@@ -175,7 +175,7 @@ export default {
         const item = this.abilityList[i];
         if (i) {
           const prevItem = this.abilityList[i - 1];
-          if (prevItem.endRate !== item.startRate) {
+          if (prevItem.startRate !== item.endRate) {
             this.errorMsg = "请保证能力维度划分规则区间连续";
             return;
           }