jsx-vue2
jsx-vue2 copied to clipboard
fix: prevent inject duplicate h variable
I think this MR could do two things.
- if user defined h variable by himself and init is $createElement or arguments[0], plugin should not inject h agian.
- solve issues 297, two preset includes plugin,then h inject twice.