el-table-virtual-scroll
Version:
The virtual scrolling component developed based on the Table component of Element-UI supports dynamic height and solves the problem of scrolling stuck when the amount of data is large.
20 lines (15 loc) • 423 B
JavaScript
import '@babel/polyfill'
import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import router from './router'
import VueResponseSize from 'vue-response-size'
Vue.config.productionTip = true
Vue.config.devtools = true // 生产开启调试
Vue.use(ElementUI)
Vue.use(VueResponseSize)
new Vue({
render: h => h(App),
router
}).$mount('#app')