bd 3 жил өмнө
parent
commit
5a922ef5f5

+ 1 - 1
src/views/cygx/raiReportDtl.vue

@@ -233,7 +233,7 @@ const collectHandle = () => {
   }).then((res) => {
     if (res.Ret === 200) {
       state.reportInfo.IsCollect = !state.reportInfo.IsCollect;
-      if (res.Data.Status == 1) {
+      if (res.Data.Status == 2) {
         state.reportInfo.CollectionNum -= 1;
       } else {
         state.reportInfo.CollectionNum += 1;