taro 4.0.3版本小程序pinia不渲染视图

6ss1mwsb  于 4个月前  发布在  其他
关注(0)|答案(1)|浏览(46)

相关平台

微信小程序

复现仓库

https://gitee.com/gitveteran/taro-4.0.3-version.git
小程序基础库: 2.17.3
使用框架: Vue 3

复现步骤

使用pinia全局状态管理

期望结果

更新视图

实际结果

没有更新视图

环境信息

Taro CLI 4.0.3 environment info:
    System:
      OS: Windows 10 10.0.19045
    Binaries:
      Node: 20.12.0 - D:\Program Files\nvm\nodejs\node.EXE
      Yarn: 1.22.22 - D:\Program Files\nodejs\node_global\yarn.CMD
      npm: 10.5.1 - D:\Program Files\nodejs\node_global\npm.CMD
    npmPackages:
      @tarojs/cli: 4.0.3 => 4.0.3
      @tarojs/components: 4.0.3 => 4.0.3
      @tarojs/helper: 4.0.3 => 4.0.3
      @tarojs/plugin-framework-vue3: 4.0.3 => 4.0.3
      @tarojs/plugin-platform-alipay: 4.0.3 => 4.0.3
      @tarojs/plugin-platform-h5: 4.0.3 => 4.0.3
      @tarojs/plugin-platform-harmony-hybrid: 4.0.3 => 4.0.3
      @tarojs/plugin-platform-jd: 4.0.3 => 4.0.3
      @tarojs/plugin-platform-qq: 4.0.3 => 4.0.3
      @tarojs/plugin-platform-swan: 4.0.3 => 4.0.3
      @tarojs/plugin-platform-tt: 4.0.3 => 4.0.3
      @tarojs/plugin-platform-weapp: 4.0.3 => 4.0.3
      @tarojs/runtime: 4.0.3 => 4.0.3
      @tarojs/shared: 4.0.3 => 4.0.3
      @tarojs/taro: 4.0.3 => 4.0.3
      @tarojs/taro-loader: 4.0.3 => 4.0.3
      @tarojs/webpack5-runner: 4.0.3 => 4.0.3
      babel-preset-taro: 4.0.3 => 4.0.3
      eslint-config-taro: 4.0.3 => 4.0.3

相关问题