LingxinMeng 1 년 전
부모
커밋
ac8aee3657
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/sceneLibrary/gradingRuleDetail.vue

+ 2 - 2
src/views/sceneLibrary/gradingRuleDetail.vue

@@ -123,7 +123,7 @@ export default {
                                 rulesId: this.form.rulesId,
                             },
                         }).then((res) => {
-                            if (res.code == 200) {
+                            if (res.code === 200) {
                                 if (res.info === 0) {
                                     this.saveFn();
                                     return;
@@ -162,7 +162,7 @@ export default {
                     ...this.form,
                 },
             }).then((res) => {
-                if (res.code == 200) {
+                if (res.code === 200) {
                     this.$message.success("保存成功");
                     this.cancel();
                 } else {