|
@@ -224,8 +224,10 @@ export default {
|
|
|
type: "success",
|
|
|
message: this.$t("Key396"), //"取消收藏成功",
|
|
|
});
|
|
|
+ this.data.isFavorite = false;
|
|
|
+
|
|
|
this.loading = false;
|
|
|
- this.getdetail();
|
|
|
+ // this.getdetail();
|
|
|
})
|
|
|
.catch((res) => {
|
|
|
this.loading = false;
|
|
@@ -245,8 +247,10 @@ export default {
|
|
|
type: "success",
|
|
|
message: this.$t("Key575"), //"收藏成功",
|
|
|
});
|
|
|
+ this.data.isFavorite = true;
|
|
|
+
|
|
|
this.loading = false;
|
|
|
- this.getdetail();
|
|
|
+ // this.getdetail();
|
|
|
})
|
|
|
.catch((res) => {
|
|
|
this.loading = false;
|