diff --git a/.husky/commit-msg b/.husky/commit-msg deleted file mode 100644 index 1a089f4..0000000 --- a/.husky/commit-msg +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - -npx --no-install commitlint --edit $1 diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100644 index a4fee1c..0000000 --- a/.husky/pre-commit +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - -npm run lint:lint-staged diff --git a/package-lock.json b/package-lock.json index 13b9efc..bf1d3f9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -66,7 +66,7 @@ "stylelint-config-recommended-vue": "^1.5.0", "stylelint-config-standard": "^36.0.0", "stylelint-config-standard-scss": "^13.1.0", - "typescript": "^5.5.2", + "typescript": "5.5.4", "unplugin-vue-setup-extend-plus": "^1.0.1", "vite": "^5.3.2", "vite-plugin-compression": "^0.5.1", @@ -13541,9 +13541,10 @@ } }, "node_modules/typescript": { - "version": "5.6.2", + "version": "5.5.4", + "resolved": "https://registry.npmmirror.com/typescript/-/typescript-5.5.4.tgz", + "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", "devOptional": true, - "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" diff --git a/package.json b/package.json index 5b419d7..f19a6e6 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "stylelint-config-recommended-vue": "^1.5.0", "stylelint-config-standard": "^36.0.0", "stylelint-config-standard-scss": "^13.1.0", - "typescript": "^5.5.2", + "typescript": "5.5.4", "unplugin-vue-setup-extend-plus": "^1.0.1", "vite": "^5.3.2", "vite-plugin-compression": "^0.5.1", diff --git a/src/hooks/useTable.ts b/src/hooks/useTable.ts index 8ad8624..84a1830 100644 --- a/src/hooks/useTable.ts +++ b/src/hooks/useTable.ts @@ -23,7 +23,7 @@ export const useTable = ( // 当前页数 pageNum: 1, // 每页显示条数 - pageSize: 10, + pageSize: 15, // 总条数 total: 0 },