vue3版本更新后系统报错路由地址更新页面不跳转

vue版本: 3.0.11
element-plus版本:1.0.2-beta.44
本地node版本:14.18.0
本地npm版本:6.14.15
控制台报错:

img

img

按照网上要求升级vue到最新版本3.2.11之后路由跳转又不行了,而且系统里面所有的下拉框都失效了,很崩溃啊,希望各位能帮我看看,号号脉。

Uncaught (in promise) TypeError: Cannot read properties of null (reading 'exposed') runtime-core.esm-bundler.js?5c40:6789

Uncaught (in promise) TypeError: Cannot read properties of null (reading 'subTree')

img

package.json:

"dependencies": {
    "axios": "^0.21.1",
    "clipboard": "^2.0.8",
    "codemirror": "^5.61.1",
    "core-js": "^3.6.5",
    "driver.js": "^0.9.8",
    "dropzone": "^5.9.2",
    "echarts": "^5.1.1",
    "element-plus": "1.0.2-beta.44",
    "file-saver": "^2.0.5",
    "fuse.js": "^6.4.6",
    "html2canvas": "^1.3.2",
    "jquery": "^3.6.0",
    "js-cookie": "^2.2.1",
    "jsonlint": "^1.6.3",
    "jspdf": "^2.3.1",
    "jszip": "^3.6.0",
    "lodash": "^4.17.21",
    "mammoth": "^1.4.17",
    "mitt": "^3.0.0",
    "moment": "^2.29.1",
    "normalize.css": "7.0.0",
    "nprogress": "^0.2.0",
    "path-to-regexp": "^6.2.0",
    "postcss-px2rem": "^0.3.0",
    "print-js": "^1.6.0",
    "screenfull": "^5.1.0",
    "script-loader": "^0.7.2",
    "sortablejs": "^1.14.0",
    "vue": "3.0.11",
    "vue-class-component": "^7.2.6",
    "vue-count-to": "^1.0.13",
    "vue-pdf": "^4.3.0",
    "vue-print-nb": "^1.7.4",
    "vue-router": "^4.0.0-0",
    "vue-splitpane": "^1.0.6",
    "vue3-print-nb": "^0.1.4",
    "vuedraggable": "^2.24.3",
    "vuex": "^4.0.0-0",
    "xlsx": "^0.17.0"
  },
  "devDependencies": {
    "@vue/cli-plugin-babel": "~4.5.0",
    "@vue/cli-plugin-e2e-cypress": "~4.5.0",
    "@vue/cli-plugin-eslint": "~4.5.0",
    "@vue/cli-plugin-router": "~4.5.0",
    "@vue/cli-plugin-unit-mocha": "~4.5.0",
    "@vue/cli-plugin-vuex": "~4.5.0",
    "@vue/cli-service": "~4.5.0",
    "@vue/compiler-sfc": "^3.0.0",
    "@vue/eslint-config-standard": "^5.1.2",
    "@vue/test-utils": "^2.0.0-0",
    "autoprefixer": "9.5.1",
    "babel-eslint": "^10.1.0",
    "babel-jest": "^27.0.1",
    "babel-plugin-dynamic-import-node": "^2.3.3",
    "chai": "^4.1.2",
    "chalk": "^4.1.1",
    "chokidar": "^3.5.1",
    "connect": "^3.7.0",
    "eslint": "^6.7.2",
    "eslint-plugin-import": "^2.20.2",
    "eslint-plugin-node": "^11.1.0",
    "eslint-plugin-promise": "^4.2.1",
    "eslint-plugin-standard": "^4.0.0",
    "eslint-plugin-vue": "^7.0.0",
    "html-webpack-plugin": "^5.3.1",
    "husky": "^6.0.0",
    "lint-staged": "^11.0.0",
    "mockjs": "^1.1.0",
    "plop": "^2.7.4",
    "runjs": "^4.4.2",
    "sass": "1.26.2",
    "sass-loader": "8.0.2",
    "script-ext-html-webpack-plugin": "^2.1.5",
    "serve-static": "^1.14.1",
    "svg-sprite-loader": "^6.0.6",
    "svgo": "^2.3.0",
    "vue-printjs": "^1.0.0",
    "vue-template-compiler": "^2.6.12"
  },

应该是路由写法有问题吧。你截个图 index.vue

请问你问题解决了吗?我也遇到了这个问题

我也遇到了这个问题,版本降回去就行了,或者重构项目了,这个版本实在太坑了