mirror of
https://github.com/un-pany/v3-admin-vite.git
synced 2025-04-20 19:09:21 +08:00
chore: updates all dependencies && vxe-table 4.4.1 && pnpm 8.6.0
This commit is contained in:
parent
836818aedd
commit
4dd30c8233
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: "8.5.0"
|
||||
version: "8.6.0"
|
||||
|
||||
- name: Build
|
||||
run: pnpm install && pnpm build:prod
|
||||
|
22
package.json
22
package.json
@ -37,19 +37,19 @@
|
||||
"pinia": "^2.1.3",
|
||||
"screenfull": "^6.0.2",
|
||||
"vue": "^3.3.4",
|
||||
"vue-router": "^4.2.1",
|
||||
"vxe-table": "^4.3.14",
|
||||
"vxe-table-plugin-element": "^3.0.6",
|
||||
"xe-utils": "^3.5.7"
|
||||
"vue-router": "^4.2.2",
|
||||
"vxe-table": "^4.4.1",
|
||||
"vxe-table-plugin-element": "^3.0.7",
|
||||
"xe-utils": "^3.5.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/js-cookie": "^3.0.3",
|
||||
"@types/lodash-es": "^4.17.7",
|
||||
"@types/node": "^20.2.3",
|
||||
"@types/node": "^20.2.5",
|
||||
"@types/nprogress": "^0.2.0",
|
||||
"@types/path-browserify": "^1.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.59.7",
|
||||
"@typescript-eslint/parser": "^5.59.7",
|
||||
"@typescript-eslint/eslint-plugin": "^5.59.8",
|
||||
"@typescript-eslint/parser": "^5.59.8",
|
||||
"@vitejs/plugin-vue": "^4.2.3",
|
||||
"@vitejs/plugin-vue-jsx": "^3.0.1",
|
||||
"@vue/eslint-config-prettier": "^7.1.0",
|
||||
@ -57,16 +57,16 @@
|
||||
"@vue/test-utils": "^2.3.2",
|
||||
"eslint": "^8.41.0",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"eslint-plugin-vue": "^9.14.0",
|
||||
"eslint-plugin-vue": "^9.14.1",
|
||||
"husky": "^8.0.3",
|
||||
"jsdom": "^22.0.0",
|
||||
"jsdom": "^22.1.0",
|
||||
"lint-staged": "^13.2.2",
|
||||
"prettier": "^2.8.8",
|
||||
"sass": "^1.62.1",
|
||||
"terser": "^5.17.6",
|
||||
"typescript": "^5.0.4",
|
||||
"unocss": "^0.52.3",
|
||||
"vite": "^4.3.8",
|
||||
"unocss": "^0.52.4",
|
||||
"vite": "^4.3.9",
|
||||
"vite-plugin-svg-icons": "^2.0.1",
|
||||
"vite-svg-loader": "^4.0.0",
|
||||
"vitest": "^0.31.1",
|
||||
|
670
pnpm-lock.yaml
generated
670
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -316,7 +316,7 @@ const crudStore = reactive({
|
||||
},
|
||||
/** 新增后是否跳入最后一页 */
|
||||
afterInsert: () => {
|
||||
const pager: VxeGridPropTypes.ProxyAjaxQueryPageParams = xGridDom.value?.getProxyInfo()?.pager
|
||||
const pager: VxeGridPropTypes.ProxyAjaxQueryPageParams | undefined = xGridDom.value?.getProxyInfo()?.pager
|
||||
if (pager) {
|
||||
const currTotal: number = pager.currentPage * pager.pageSize
|
||||
if (currTotal === pager.total) {
|
||||
@ -351,7 +351,7 @@ const crudStore = reactive({
|
||||
/** 删除后是否返回上一页 */
|
||||
afterDelete: () => {
|
||||
const tableData: RowMeta[] = xGridDom.value!.getData()
|
||||
const pager: VxeGridPropTypes.ProxyAjaxQueryPageParams = xGridDom.value?.getProxyInfo()?.pager
|
||||
const pager: VxeGridPropTypes.ProxyAjaxQueryPageParams | undefined = xGridDom.value?.getProxyInfo()?.pager
|
||||
if (pager && pager.currentPage > 1 && tableData.length === 1) {
|
||||
--pager.currentPage
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user