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


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


The final reference here is the solution given by a person in GitHub

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: