Skip to content

Commit

Permalink
fix: 标签view->div
Browse files Browse the repository at this point in the history
  • Loading branch information
周旺 committed Aug 5, 2021
1 parent 99ef948 commit f26304a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/taro-runtime/src/dsl/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,11 +352,11 @@ export function createQuickAppConfig () {
}

switch (nn) {
case 'slot-view':
case 'view':
case 'catch-view':
case 'static-view':
case 'pure-view':
return 'view'
return 'div'
case 'static-image':
return 'image'
default:
Expand Down

0 comments on commit f26304a

Please sign in to comment.