-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/canvas #15319
Feat/canvas #15319
Conversation
16 similar comments
@@ -1,12 +1,19 @@ | |||
import { temporarilyNotSupport } from '../utils' | |||
import { eventSource } from '@tarojs/runtime/dist/runtime.esm' | |||
import { TaroCanvasElement } from 'src/runtime-ets' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里引用的应该是 @tarojs/runtime
@@ -1,12 +1,19 @@ | |||
import { temporarilyNotSupport } from '../utils' | |||
import { eventSource } from '@tarojs/runtime/dist/runtime.esm' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里引用的应该是 @tarojs/runtime
@@ -55,6 +56,7 @@ export function initHarmonyElement () { | |||
case 'icon': return new TaroIconElement() | |||
case 'label': return new TaroLabelElement() | |||
case 'rich-text': return new TaroRichTextElement() | |||
case 'canvas': return new TaroCanvasElement |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return new TaroCanvasElement 后面少了括号
这个 PR 做了什么? (简要描述所做更改)
这个 PR 是什么类型? (至少选择一个)
这个 PR 涉及以下平台: