ibiz-grid-span.component.ts 373 字节
Newer Older
ibiz's avatar
ibiz committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Vue.component('ibiz-grid-span', {
    template: `
    <i-input :value="value" style="width: 100%" disabled readonly/>
    `,
    data: function() {
        return {
            value: ''
        }
    },
    created: function() {
        this.value = this.params.value;
    },
    methods: {
        getValue: function() {
            return this.value;
        }
    }
});