xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

vue template All In One

vue template All In One

bestest vue component template


<template>
    <div class="custom-class">
      ...
    </div>
</template>

<script>
import _ from 'lodash';
import {directive as onClickaway} from 'vue-clickaway';
// import SearchSelect from './SearchSelect';

export default {
    name: 'AdjustTable',
    components: {
        // SearchSelect,
    },
    data () {
        return {
            //
        };
    },
    props: {
        tableData: {
            type: Array,
            default: () => [],
            required: false,
            // required: true,
        },
        pagination: {
            type: Object,
            default: () => ({
                total: 0,
                page: 1,
                pageSize: 100,
            }),
            required: false,
            // required: true,
        },
        isShow: {
            type: Boolean,
            default: false,
            required: false,
            // required: true,
        },
        placeholder: {
            type: String,
            default: '请选择',
            required: false,
            // required: true,
        },
    },
    watch: {},
    computed: {},
    methods: {},
    mounted () {},
}
</script>

<style lang="scss">
</style>


refs



©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!


posted @ 2021-01-24 21:59  xgqfrms  阅读(57)  评论(1编辑  收藏  举报