[Vuejs]-Using prop in server table

0👍

Just add computed to solve this and bind to url:

    // template
    <v-server-table :url="urlForServerTable" :columns="columns" :options="options"></v-server-table>

    // component
    ...
    computed: {
        urlForServerTable() {
            return `//${this.url}`
        }
    }
    ...

Leave a comment