dcloudio / uni-app

A cross-platform framework using Vue.js
https://uniapp.dcloud.io
Apache License 2.0
40.19k stars 3.64k forks source link

You may have an infinite update loop in a component render function. @dcloudio/uni-h5 2.0.0-31920210423001 #2620

Closed SunSeekerX closed 2 years ago

SunSeekerX commented 3 years ago

问题描述 cli 创建的项目 @dcloudio/uni-h5 从 2.0.0-30720210122002 升级到 @dcloudio/uni-h5 2.0.0-31920210423001 在 H5 出现该问题,app 不出现该问题。 复现步骤 [复现问题的步骤]

  1. 启动 '...'
  2. 点击 '....'
  3. 查看

[或者可以直接贴源代码]

预期结果 不出现bug。

实际结果 image

系统信息:

uni-app v3.1.11 uni-app cli v2.0.0-31920210423001

Environment Info:

System: OS: Windows 10 CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz Binaries: Node: 14.16.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD npm: 7.8.0 - C:\Program Files\nodejs\npm.CMD Browsers: Edge: 44.19041.906.0 npmPackages: @dcloudio/types: 2.2.1 => 2.2.1 @dcloudio/uni-app-plus: 2.0.0-31920210423001 => 2.0.0-31920210423001 @dcloudio/uni-app-plus-nvue: 0.0.1 @dcloudio/uni-app-plus-nvue-v8: 0.0.1 @dcloudio/uni-automator: 2.0.0-31920210423001 => 2.0.0-31920210423001 @dcloudio/uni-cli-shared: 2.0.0-31920210423001 => 2.0.0-31920210423001 @dcloudio/uni-h5: 2.0.0-31920210423001 => 2.0.0-31920210423001 @dcloudio/uni-helper-json: 1.0.13 => 1.0.13 @dcloudio/uni-i18n: 0.0.3 @dcloudio/uni-migration: 2.0.0-31920210423001 => 2.0.0-31920210423001 @dcloudio/uni-mp-360: 2.0.0-31920210423001 => 2.0.0-31920210423001 @dcloudio/uni-mp-alipay: 2.0.0-31920210423001 => 2.0.0-31920210423001 @dcloudio/uni-mp-baidu: 2.0.0-31920210423001 => 2.0.0-31920210423001 @dcloudio/uni-mp-qq: 2.0.0-31920210423001 => 2.0.0-31920210423001 @dcloudio/uni-mp-toutiao: 2.0.0-31920210423001 => 2.0.0-31920210423001 @dcloudio/uni-mp-vue: 2.0.0-31920210423001 => 2.0.0-31920210423001 @dcloudio/uni-mp-weixin: 2.0.0-31920210423001 => 2.0.0-31920210423001 @dcloudio/uni-quickapp-native: 2.0.0-31920210423001 => 2.0.0-31920210423001 @dcloudio/uni-quickapp-webview: 2.0.0-31920210423001 => 2.0.0-31920210423001 @dcloudio/uni-stat: 2.0.0-31920210423001 => 2.0.0-31920210423001 @dcloudio/uni-template-compiler: 2.0.0-31920210423001 => 2.0.0-31920210423001 @dcloudio/vue-cli-plugin-hbuilderx: 2.0.0-31920210423001 => 2.0.0-31920210423001 @dcloudio/vue-cli-plugin-uni: 2.0.0-31920210423001 => 2.0.0-31920210423001 @dcloudio/vue-cli-plugin-uni-optimize: 2.0.0-31920210423001 => 2.0.0-31920210423001 @dcloudio/webpack-uni-mp-loader: 2.0.0-31920210423001 => 2.0.0-31920210423001 @dcloudio/webpack-uni-nvue-loader: 0.0.1 @dcloudio/webpack-uni-pages-loader: 2.0.0-31920210423001 => 2.0.0-31920210423001 @hap-toolkit/dsl-vue: 0.6.13 @vue/babel-helper-vue-jsx-merge-props: 1.2.1 @vue/babel-helper-vue-transform-on: 1.0.2 @vue/babel-plugin-jsx: 1.0.5 @vue/babel-plugin-transform-vue-jsx: 1.2.1 @vue/babel-preset-app: 4.5.12 @vue/babel-preset-jsx: 1.2.4 @vue/babel-sugar-composition-api-inject-h: 1.2.1 @vue/babel-sugar-composition-api-render-instance: 1.2.4 @vue/babel-sugar-functional-vue: 1.2.2 @vue/babel-sugar-inject-h: 1.2.2 @vue/babel-sugar-v-model: 1.2.3 @vue/babel-sugar-v-on: 1.2.3 @vue/cli-overlay: 4.5.12 @vue/cli-plugin-babel: ~4.5.12 => 4.5.12 @vue/cli-plugin-router: 4.5.12 @vue/cli-plugin-vuex: 4.5.12 @vue/cli-service: ~4.5.12 => 4.5.12 @vue/cli-shared-utils: 4.5.12 @vue/component-compiler-utils: 3.2.0 (3.2.0) @vue/eslint-config-prettier: ^6.0.0 => 6.0.0 @vue/preload-webpack-plugin: 1.1.2 @vue/shared: ^3.0.11 => 3.0.11 @vue/web-component-wrapper: 1.3.0 eslint-plugin-vue: ^7.9.0 => 7.9.0 mpvue-page-factory: 1.0.1 mpvue-template-compiler: 1.0.13 uni-h5-vue: 2.6.10 uni-mp-vue: 2.6.10 vue: ^2.6.12 => 2.6.12 vue-clipboard2: ^0.3.1 => 0.3.1 vue-eslint-parser: 7.6.0 vue-hot-reload-api: 2.3.4 vue-i18n: ^8.24.3 => 8.24.3 vue-loader: 15.9.6 (16.2.0, 15.9.6) vue-router: 3.0.1 vue-style-loader: 4.1.3 (4.1.3) vue-template-compiler: ^2.6.12 => 2.6.12 (2.6.12) vue-template-es2015-compiler: 1.9.1 vuex: ^3.6.2 => 3.6.2 npmGlobalPackages: @vue/cli: Not Found


 - 设备信息: chrome
zhetengbiji commented 2 years ago

未发现类似问题,可以执行 npx @dcloudio/uvm 整体更新依赖到最新版尝试,如仍有问题继续开启此 issue。