panhui 3 vuotta sitten
vanhempi
commit
7b87fb8fdf
1 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  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',
                             {