这是依赖包的内容,有看到某金一篇文章说,vue和vue-template-compiler版本不一致,但是我重装了依赖包,然后看了一下lock文件里,装的都是最新的vue版本。请问问题在哪。 { "name": "tr-template", "version": "0.1.0", "private": true, "scripts": { "serve": "vue-cli-service serve ", "build": "vue-cli-service build", "lint": "vue-cli-service lint", "lint-staged": "lint-staged", "prepare": "husky install" }, "dependencies": { "@jxcc/tr-component-base": "^1.0.6", "@jxcc/tr-plugin-api": "^1.0.6", "@jxcc/tr-plugin-request": "^1.0.6", "axios": "^0.27.2", "clipboard": "^2.0.0", "codemirror": "^5.38.0", "core-js": "^3.8.3", "countup": "^1.8.2", "cropperjs": "^1.2.2", "dayjs": "^1.10.6", "decimal": "^0.0.2", "decimal.js": "^10.4.3", "echarts": "^5.4.2", "element-ui": "2.13.2", "jquery": "^1.12.4", "lodash": "^4.17.21", "mockjs": "^1.1.0", "normalize.css": "7.0.0", "screenfull": "^5.0.2", "vue": "^2.6.12", "vue-pdf": "^3.3.1", "vue-router": "^3.2.0", "vue-virtual-cascader": "^1.3.16", "vuedraggable": "^2.23.2", "vuex": "^3.4.0", "vuex-persistedstate": "^4.1.0", "vxe-table": "^3.6.13", "xe-utils": "^3.5.7" }, "devDependencies": { "@babel/core": "^7.12.16", "@babel/eslint-parser": "^7.12.16", "@commitlint/cli": "^17.0.2", "@commitlint/config-conventional": "^17.0.2", "@vue/cli-plugin-babel": "~5.0.0", "@vue/cli-plugin-eslint": "~5.0.0", "@vue/cli-plugin-router": "~5.0.0", "@vue/cli-plugin-vuex": "~5.0.0", "@vue/cli-service": "~5.0.0", "compression-webpack-plugin": "^5.0.1", "connect": "^3.6.6", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-vue": "^8.0.3", "husky": "^8.0.1", "lint-staged": "^13.0.0", "monaco-editor": "^0.20.0", "prettier": "^2.6.2", "sass": "^1.26.5", "sass-loader": "^8.0.2", "svg-sprite-loader": "^5.2.1", "terser-webpack-plugin": "^4.2.3", "vue-template-compiler": "^2.6.12", "webpack": "^5.72.1", "worker-loader": "^3.0.8" } } 默认插槽是这么写的 点击上传 只能上传word、pdf、excel、jpg、png等文件格式,单个文件不超过100M