Skip to content

Commit 5645083

Browse files
committed
feat: H5 canvas
1 parent 40a24ad commit 5645083

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

‎pages.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,12 +278,14 @@
278278
"enablePullDownRefresh": true
279279
}
280280
},
281+
// #ifndef H5
281282
{
282283
"path": "pages/API/animation/animation",
283284
"style": {
284285
"navigationBarTitleText": "创建动画"
285286
}
286287
},
288+
// #endif
287289
{
288290
"path": "pages/API/canvas/canvas",
289291
"style": {
@@ -523,14 +525,12 @@
523525
"navigationBarTitleText": "二维码生成"
524526
}
525527
},
526-
// #ifndef H5
527528
{
528529
"path": "crop/crop",
529530
"style": {
530531
"navigationBarTitleText": "图片裁剪"
531532
}
532533
},
533-
// #endif
534534
// #ifdef APP-PLUS || MP-WEIXIN
535535
{
536536
"path": "echarts/echarts",

‎pages/tabBar/API/API.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@
7474
name: '创建动画',
7575
url: 'animation'
7676
},
77+
//#endif
7778
{
7879
name: '创建绘画',
7980
url: 'canvas'
8081
},
81-
//#endif
8282
{
8383
name: '显示操作菜单',
8484
url: 'action-sheet'

‎pages/tabBar/template/template.vue‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,10 @@
176176
name: '二维码生成',
177177
url: 'qrcode'
178178
},
179-
// #ifndef H5
180179
{
181180
name: '图片裁剪',
182181
url: 'crop'
183182
},
184-
// #endif
185183
// #ifdef APP-PLUS || MP-WEIXIN || H5
186184
{
187185
name: 'markdown 富文本渲染',

0 commit comments

Comments
 (0)