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

vue3.3.x版本,ts约束错误 #14172

Closed
chenchenpp opened this issue Jul 13, 2023 · 2 comments
Closed

vue3.3.x版本,ts约束错误 #14172

chenchenpp opened this issue Jul 13, 2023 · 2 comments
Assignees
Labels
A-typings Area - TypeScript Typings 相关 F-vue3 Framework - Vue 3 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x

Comments

@chenchenpp
Copy link

相关平台

微信小程序

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

复现步骤

将项目的vue版本升级到最新版本3.3.x

期望结果

能够支持vue升级

实际结果

发现ts校验发生错误,使用的是vue3的校验而非taro编写的ts校验, 比如:view标签的touchstart事件是被vue的ts校验住了,应该是通过taro的ts约束才是

环境信息

👽 Taro v3.5.8


  Taro CLI 3.5.8 environment info:
    System:
      OS: macOS 12.5
      Shell: 5.8.1 - /bin/zsh
    Binaries:
      Node: 19.3.0 - ~/.nvm/versions/node/v19.3.0/bin/node
      Yarn: 1.22.19 - ~/.nvm/versions/node/v19.3.0/bin/yarn
      npm: 9.2.0 - ~/.nvm/versions/node/v19.3.0/bin/npm
    npmPackages:
      @tarojs/cli: 3.5.8 => 3.5.8 
      @tarojs/components: 3.5.8 => 3.5.8 
      @tarojs/helper: 3.5.8 => 3.5.8 
      @tarojs/mini-runner: 3.5.8 => 3.5.8 
      @tarojs/plugin-framework-vue3: 3.5.8 => 3.5.8 
      @tarojs/plugin-platform-alipay: 3.5.8 => 3.5.8 
      @tarojs/plugin-platform-tt: 3.5.8 => 3.5.8 
      @tarojs/plugin-platform-weapp: 3.5.8 => 3.5.8 
      @tarojs/plugin-vue-devtools: 3.5.8 => 3.5.8 
      @tarojs/runtime: 3.5.8 => 3.5.8 
      @tarojs/shared: 3.5.8 => 3.5.8 
      @tarojs/taro: 3.5.8 => 3.5.8 
      @tarojs/webpack5-runner: 3.5.8 => 3.5.8 
      babel-preset-taro: 3.5.8 => 3.5.8 
      eslint-config-taro: 3.5.8 => 3.5.8 

补充信息

升级vue的原因:vue3.3支持和解决了一些重要问题,比如解决了这个问题:https://github.com/vuejs/core/pull/8083。

@taro-bot2 taro-bot2 bot added F-vue3 Framework - Vue 3 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Jul 13, 2023
@ZakaryCode ZakaryCode added the A-typings Area - TypeScript Typings 相关 label Jul 19, 2023
@ZakaryCode
Copy link
Contributor

描述模糊,猜测是类似于 #13516,在下一版本修复

@chenchenpp
Copy link
Author

描述模糊,猜测是类似于 #13516,在下一版本修复

其实我想说的是,本地项目怎么手动升级vue最新版本,我尝试手动升级vue版本发现ts有报错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-typings Area - TypeScript Typings 相关 F-vue3 Framework - Vue 3 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Projects
Archived in project
Development

No branches or pull requests

2 participants