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

ts项目用showModal缺少editable和content类型一直都没修复吗 #16325

Open
QzhouZ opened this issue Aug 16, 2024 · 0 comments · May be fixed by #16256
Open

ts项目用showModal缺少editable和content类型一直都没修复吗 #16325

QzhouZ opened this issue Aug 16, 2024 · 0 comments · May be fixed by #16256
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x

Comments

@QzhouZ
Copy link

QzhouZ commented Aug 16, 2024

相关平台

微信小程序

小程序基础库: 无
使用框架: React

复现步骤

Taro.showModal({
  editable: true,
  success ({content}) {
    console.log(content)
  }
})

期望结果

ts 类型支持

实际结果

类型“SuccessCallbackResult”上不存在属性“content”。

环境信息

👽 Taro v3.6.25

Taro CLI 3.6.25 environment info:
  System:
    OS: macOS 14.4.1
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 16.20.2 - ~/.nvm/versions/node/v16.20.2/bin/node
    npm: 8.19.4 - ~/.nvm/versions/node/v16.20.2/bin/npm
  npmPackages:
    @tarojs/cli: 3.6.25 => 3.6.25 
    @tarojs/components: 3.6.25 => 3.6.25 
    @tarojs/helper: 3.6.25 => 3.6.25 
    @tarojs/plugin-framework-react: 3.6.25 => 3.6.25 
    @tarojs/plugin-platform-alipay: 3.6.25 => 3.6.25 
    @tarojs/plugin-platform-h5: 3.6.25 => 3.6.25 
    @tarojs/plugin-platform-jd: 3.6.25 => 3.6.25 
    @tarojs/plugin-platform-qq: 3.6.25 => 3.6.25 
    @tarojs/plugin-platform-swan: 3.6.25 => 3.6.25 
    @tarojs/plugin-platform-tt: 3.6.25 => 3.6.25 
    @tarojs/plugin-platform-weapp: 3.6.25 => 3.6.25 
    @tarojs/react: 3.6.25 => 3.6.25 
    @tarojs/runtime: 3.6.25 => 3.6.25 
    @tarojs/shared: 3.6.25 => 3.6.25 
    @tarojs/taro: 3.6.25 => 3.6.25 
    @tarojs/taro-loader: 3.6.25 => 3.6.25 
    @tarojs/webpack5-runner: 3.6.25 => 3.6.25 
    babel-preset-taro: 3.6.25 => 3.6.25 
    eslint-config-taro: 3.6.25 => 3.6.25 
    react: ^18.0.0 => 18.3.1 
    taro-ui: ^3.2.1 => 3.3.0 
@taro-bot2 taro-bot2 bot added F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Aug 16, 2024
This was referenced Aug 17, 2024
TheKonka added a commit to TheKonka/taro that referenced this issue Aug 21, 2024
@TheKonka TheKonka linked a pull request Aug 21, 2024 that will close this issue
18 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

1 participant