fix: cross-platform compatibility for generate:jsx-demo and generate:aigc-jsx-demo
#4136
+2
−2
generate:jsx-demo and generate:aigc-jsx-demo
#4136