panhui пре 3 година
родитељ
комит
7b87fb8fdf
1 измењених фајлова са 5 додато и 1 уклоњено
  1. 5 1
      src/views/product/Detail.vue

+ 5 - 1
src/views/product/Detail.vue

@@ -656,7 +656,11 @@ export default {
                     this.$toast.clear();
 
                     if (res.type === 'BLIND_BOX') {
-                        this.$http.get('/rare/' + res.id).then();
+                        this.$http.get('/blindBoxItem/rare/' + res.id).then(res => {
+                            this.ssr = res.SSR || '';
+                            this.sr = res.SR || '';
+                            this.u = res.U || '';
+                        });
                         return this.$http.post(
                             '/blindBoxItem/all',
                             {