[新增]wxmlToCanvas
This commit is contained in:
2
node_modules/wxml-to-canvas/miniprogram_dist/index.wxml
generated
vendored
Normal file
2
node_modules/wxml-to-canvas/miniprogram_dist/index.wxml
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
<canvas wx:if="{{use2dCanvas}}" id="weui-canvas" type="2d" style="width: {{width}}px; height: {{height}}px;"></canvas>
|
||||
<canvas wx:else canvas-id="weui-canvas" style="width: {{width}}px; height: {{height}}px;"></canvas>
|
||||
Reference in New Issue
Block a user