Skip to content
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

Taro.createOffscreenCanvas() 应接收一个初始化参数 #12391

Closed
geeklibin opened this issue Aug 27, 2022 · 1 comment
Closed

Taro.createOffscreenCanvas() 应接收一个初始化参数 #12391

geeklibin opened this issue Aug 27, 2022 · 1 comment
Assignees
Labels
A-typings Area - TypeScript Typings 相关 E-easy Helper Wanted - Easy F-vue3 Framework - Vue 3 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Milestone

Comments

@geeklibin
Copy link

相关平台

微信小程序

小程序基础库: 2.25.3
使用框架: Vue 3

复现步骤

微信小程序文档,该方法接收一个初始化参数:从基础库 2.16.1 开始改为 wx.createOffscreenCanvas(options: object): OffscreenCanvas,向下兼容旧版入参。

期望结果

接收一个参数

实际结果

无法接收参数
image

环境信息

Taro CLI 3.5.4 environment info:
    System:
      OS: macOS 10.15.7
      Shell: 5.7.1 - /bin/zsh
    Binaries:
      Node: 14.7.0 - ~/.nvm/versions/node/v14.7.0/bin/node
      Yarn: 1.22.19 - ~/.nvm/versions/node/v14.7.0/bin/yarn
      npm: 6.14.7 - ~/.nvm/versions/node/v14.7.0/bin/npm
    npmPackages:
      @tarojs/cli: 3.5.4 => 3.5.4 
      @tarojs/components: 3.5.4 => 3.5.4 
      @tarojs/helper: 3.5.4 => 3.5.4 
      @tarojs/plugin-framework-vue3: 3.5.4 => 3.5.4 
      @tarojs/plugin-html: 3.5.4 => 3.5.4 
      @tarojs/plugin-platform-alipay: 3.5.4 => 3.5.4 
      @tarojs/plugin-platform-jd: 3.5.4 => 3.5.4 
      @tarojs/plugin-platform-qq: 3.5.4 => 3.5.4 
      @tarojs/plugin-platform-swan: 3.5.4 => 3.5.4 
      @tarojs/plugin-platform-tt: 3.5.4 => 3.5.4 
      @tarojs/plugin-platform-weapp: 3.5.4 => 3.5.4 
      @tarojs/router: 3.5.4 => 3.5.4 
      @tarojs/runtime: 3.5.4 => 3.5.4 
      @tarojs/shared: 3.5.4 => 3.5.4 
      @tarojs/taro: 3.5.4 => 3.5.4 
      @tarojs/taro-h5: 3.5.4 => 3.5.4 
      @tarojs/webpack5-runner: 3.5.4 => 3.5.4 
      babel-preset-taro: 3.5.4 => 3.5.4 
      eslint-config-taro: 3.5.4 => 3.5.4 
@taro-bot2 taro-bot2 bot added F-vue3 Framework - Vue 3 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Aug 27, 2022
@crazyair
Copy link

crazyair commented Sep 3, 2022

@Chen-jj Chen-jj added A-typings Area - TypeScript Typings 相关 E-easy Helper Wanted - Easy labels Sep 5, 2022
ZakaryCode added a commit that referenced this issue Sep 9, 2022
Co-authored-by: wangying <wangying@kezaihui.com>
Co-authored-by: Zakary <zakarycode@gmail.com>
@Chen-jj Chen-jj added this to the 3.5.6 milestone Sep 21, 2022
@Chen-jj Chen-jj closed this as completed Sep 21, 2022
KkZsc pushed a commit to KkZsc/taro that referenced this issue Dec 5, 2022
)

Co-authored-by: wangying <wangying@kezaihui.com>
Co-authored-by: Zakary <zakarycode@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-typings Area - TypeScript Typings 相关 E-easy Helper Wanted - Easy F-vue3 Framework - Vue 3 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Projects
None yet
Development

No branches or pull requests

4 participants