SHARE
TWEET

Untitled

a guest Jun 18th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {  
  2.    "2018":[  
  3.       {  
  4.          "id":25071,
  5.  
  6.       },
  7.       {  
  8.          "id":35037,
  9.       }
  10.    ],
  11.    "2017":[  
  12.       {  
  13.          "id":20449,
  14.       },
  15.       {  
  16.          "id":25797
  17.       }
  18.    ],
  19.    "2016":[  
  20.       {  
  21.          "id":20419,
  22.       },
  23.       {  
  24.          "id":25778
  25.       }  
  26.    ]
  27. }
  28.      
  29. getYears: function(){
  30.     axios.get('/blablabla/').then(
  31.         response => {
  32.             console.log(response.data);
  33.             this.years=response.data;
  34.         }
  35.     );
  36. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top