0

enter image description here

and this my code

export default {
  name: "pegawai",
  data() {
      return {
      }
  },
  created(){
     this.$store.dispatch("GetPegawai");
     this.tabel();
  },
  computed: {
    fetch(){
      return this.$store.state.pegawai 
    }
  },
  methods: {
    tabel() {
        this.$nextTick(()=>{
            $('.example').DataTable();
        })
    }
}

why this happens, how to load json into datatables ?

Gusti
  • 3
  • 3

0 Answers0