首页 > 代码库 > Vue-resource

Vue-resource

created() {
      this.$http.get(‘/api/seller‘).then((response) => {
        response = response.body;
        if (response.errno === ERR_OK) {
          this.seller = response.data;
        }
      });
    },

 

Vue-resource