|
@@ -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;
|