diff --git a/package.json b/package.json index 7580e313a..69c255e1f 100644 --- a/package.json +++ b/package.json @@ -34,8 +34,8 @@ "@ant-design/icons-vue": "^6.1.0", "@vueuse/core": "^8.3.1", "ant-design-vue": "3.2.2", - "axios": "^0.27.1", - "core-js": "^3.22.2", + "axios": "^0.27.2", + "core-js": "^3.22.3", "dayjs": "^1.11.1", "file-saver": "^2.0.5", "lodash-es": "^4.17.21", @@ -53,10 +53,10 @@ "xlsx": "^0.18.5" }, "devDependencies": { - "@commitlint/cli": "^16.2.3", - "@commitlint/config-conventional": "^16.2.1", + "@commitlint/cli": "^16.2.4", + "@commitlint/config-conventional": "^16.2.4", "@types/lodash-es": "^4.17.6", - "@types/node": "^17.0.29", + "@types/node": "^17.0.30", "@types/webpack-env": "^1.16.4", "@typescript-eslint/eslint-plugin": "^5.21.0", "@typescript-eslint/parser": "^5.21.0", @@ -70,7 +70,7 @@ "commitizen": "^4.2.4", "conventional-changelog-cli": "^2.2.2", "cross-env": "^7.0.3", - "cz-git": "^1.2.3", + "cz-git": "^1.2.8", "eslint": "^8.14.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-import": "2.26.0", @@ -86,7 +86,7 @@ "prettier": "^2.6.2", "regenerator-runtime": "^0.13.9", "speed-measure-webpack-plugin": "^1.5.0", - "stylelint": "^14.8.0", + "stylelint": "^14.8.1", "stylelint-config-html": "^1.0.0", "stylelint-config-prettier": "^9.0.3", "stylelint-config-recommended": "^7.0.0", @@ -94,7 +94,7 @@ "stylelint-config-standard": "^25.0.0", "stylelint-order": "^5.0.0", "svg-sprite-loader": "^6.0.11", - "typescript": "^4.6.3", + "typescript": "^4.6.4", "unplugin-vue-define-options": "^0.6.1", "vue-cli-plugin-windicss": "^1.1.4", "vue-eslint-parser": "^8.3.0" diff --git a/src/components/core/dynamic-table/src/hooks/useTable.tsx b/src/components/core/dynamic-table/src/hooks/useTable.tsx index 8fed66391..079098083 100644 --- a/src/components/core/dynamic-table/src/hooks/useTable.tsx +++ b/src/components/core/dynamic-table/src/hooks/useTable.tsx @@ -35,7 +35,7 @@ export function useTable(props?: Partial) { if (Reflect.has(target, key)) { return unref(target); } - if (Reflect.has(target.value, key)) { + if (target.value && Reflect.has(target.value, key)) { return target.value[key]; } return async (...rest) => { diff --git a/src/layout/header/index.vue b/src/layout/header/index.vue index e35c104f9..3c14eb428 100644 --- a/src/layout/header/index.vue +++ b/src/layout/header/index.vue @@ -61,7 +61,7 @@