new Vue({
    el: 'body',
    data: {
        show: false,
        submit: false,
        error: false,
        finals: false,
        select: ['String', 'date', 'longText', 'integer', 'biginteger', 'boolean', 'float'],
        selected: '0',
        baseUrl: baseUrl,
        OneToMany: scaffoldList,
        attributes: [],
        OneToManyRows: 0,
        rows: 0,
    },
    methods: {
        increment: function() {
            this.error = false;
            this.rows += 1;
        },
        decrement: function() {
            if (this.rows == 0 && this.OneToManyRows == 0) {
                this.error = true;
            } else {
                if (this.OneToManyRows != 0) {
                    this.OneToManyRows -= 1;
                    return;
                }
                this.rows -= 1;
            }
        },
        addOneToMany: function() {
            this.OneToManyRows += 1;
        },
        getAttr: function() {
            this.selected = $('#tbl0').val();
            console.log(this.baseUrl + '/scaffold/getAttributes/' + this.selected);
            $.ajax({
                method: 'get',
                url: this.baseUrl + '/scaffold/getAttributes/' + this.selected,
                success: function(response) {
                    this.attributes = response
                    console.log(this.attributes)
                }
            })
        }
    }
})
@@ -319,10 +319,14 @@
 es: 
-%5B%5D
+swihla
 ,%0A  
@@ -1280,82 +1280,28 @@
     
-this.attributes = response%0A                    console.log(this.attributes
+console.log(response
 )%0A  
@@ -1330,16 +1330,17 @@
       %7D)
+;
 %0A       

update test script