ex-table-column
Version:
Extended to element table column, supports column width to be automatically adjusted according to content, supports all attributes of el-table-column, compatible el-table-column.
15 lines (11 loc) • 340 B
JavaScript
import Vue from 'vue'
import Element from 'element-ui'
import ExTableColumn from '@/components/ExTableColumn';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue'
Vue.config.productionTip = false
Vue.use(Element)
Vue.component(ExTableColumn.name, ExTableColumn);
new Vue({
render: h => h(App),
}).$mount('#app')