The canvas developed by uni-app does not take effect on the mini program or h5 side.

There are several possibilities:

1. If type="2d" is written in the canvas tag, it will not be displayed on the mini program. Just delete it.

2. If you are used to the h5 writing method and only write the id but not the canvas-id, it will not be displayed.

3. If it is an old version, it may not be displayed if you do not write this when creating the canvas (in fact, with the current new version, it can be displayed without writing this, but it is recommended to write it) 

Other canvas issues will be added later. 

Guess you like

Origin blog.csdn.net/wuguidian1114/article/details/122404504