nuxt,js面临在vuetify表中获取数据的问题

时间:2020-10-12 16:08:20

标签: laravel vue.js vuejs2 axios nuxt.js

我面临在vuetify表中获取数据的问题,我在邮递员中检查了我的API,它工作正常。尝试在vuetify中显示数据时不显示也不显示任何错误。

Laravel API控制器

Require Import List. Import ListNotations.
Scheme Equality for list.

Lemma list_eq (l v:list nat) : list_beq nat Nat.eqb l v = true -> l = v.
  destruct(list_eq_dec _ PeanoNat.Nat.eqb) with l v as [H|H];
    intros; try apply PeanoNat.Nat.eqb_eq in H. trivial. trivial. trivial.
  exfalso.
  apply H. apply internal_list_dec_bl with Nat.eqb.
  apply PeanoNat.Nat.eqb_eq. apply H0.
Qed.

MY Laravel API

public function businesslist() {
      $businesslist = Business::paginate(2)->toJson(JSON_PRETTY_PRINT);
      return response($businesslist);
    }
}

MY Nuxt.js Vue页面

Route::get('/Businessregisterlist', 'BusinessController@userlist')->name('businesslist');

0 个答案:

没有答案