DataTables没有呈现图像

时间:2018-08-18 12:28:07

标签: jquery-ui datatables

我正在尝试在数据表中显示图像,但是我在渲染图像时遇到麻烦,我该如何解决? 我正在使用Django screen

<template>
    <v-container id="app">
        <v-layout align-center justify-space-around fill-height/>
            <v-flex xs12 text-xs-center>
                <h1>Vue/GitHub</h1>
            </v-flex>
            <!-- Here starts the area where the user would write the GitHub information-->
            <v-flex v-flex xs4 offset-xs4>
                        <input 
                        v-model="_usernameVMod" 
                        type="text" 
                        class="form-control"
                        placeholder="Usuário">

                        <input 
                        v-model="_repoVMod" 
                        type="text" 
                        class="form-control"
                        placeholder="Repositório">          
            </v-flex>
            <!-- Here ends the area where the user would write the GitHub information-->
            <v-flex xs4 offset-xs4 row justify-center>              
                <v-btn large color="green lighten-2">Search</v-btn>
            </v-flex>
        </v-layout>
    </v-container>
</template>
<script>
    export default{
        data(){
            return{
                _usernameVMod: '',
                _repoVMod: '',
            };
        },
        methods:{},

    };
</script>

1 个答案:

答案 0 :(得分:0)

您没有指出您使用的是哪个版本,所以我认为它是最新的(1.10.18)。 在这种情况下,请注意aoColumnDefs不再存在,现在只是ColumnDefs