Ant design vue table Error: h is not defined [How to Solve]

Cause

When using table, because there are too many columns data, the data in columns is split into a separate JS file
and because customrender needs to be used and JSX needs to be used for rendering, an error is reported

Solution:

The final reference here is the solution given by a person in GitHub
address: https://github.com/vueComponent/ant-design-vue/issues/1183

Write the following in a separate JS file

import Vue from 'vue'
const h = new Vue().$createElement

This will solve the above problems

Read More: