From 8f711caadacab1fdbacb5403fa3dbd3863df8caa Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Sun, 15 Jun 2025 16:46:28 +0800 Subject: [PATCH 1/3] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=20z-paging=20?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=E8=87=B3=202.8.7=20=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index af4760d..739d7e5 100644 --- a/package.json +++ b/package.json @@ -113,7 +113,7 @@ "qs": "6.5.3", "vue": "^3.4.21", "wot-design-uni": "^1.9.1", - "z-paging": "^2.8.4" + "z-paging": "2.8.7" }, "devDependencies": { "@commitlint/cli": "^19.8.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6139983..7797e83 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -87,8 +87,8 @@ importers: specifier: ^1.9.1 version: 1.9.1(vue@3.5.15(typescript@5.7.2)) z-paging: - specifier: ^2.8.4 - version: 2.8.4 + specifier: 2.8.7 + version: 2.8.7 devDependencies: '@commitlint/cli': specifier: ^19.8.1 @@ -5564,8 +5564,8 @@ packages: resolution: {integrity: sha512-AyeEbWOu/TAXdxlV9wmGcR0+yh2j3vYPGOECcIj2S7MkrLyC7ne+oye2BKTItt0ii2PHk4cDy+95+LshzbXnGg==} engines: {node: '>=12.20'} - z-paging@2.8.4: - resolution: {integrity: sha512-967aWGPZsC9siwIoWtXH6L+9gCoKe29jZtW+AMD9NSfsfymPZjBBYu7owT/siUQyCaaNJ7uUbpAet+YgpMn0xA==} + z-paging@2.8.7: + resolution: {integrity: sha512-RcDeKFoCQB51dmrrTb1PMIazjTqGuAbFmjPS0/N5hdUNTCRvxGOOBTBFolvIxUcsWhrocI9C0mYDgUwXT6Dwcg==} engines: {HBuilderX: ^3.0.7} snapshots: @@ -12230,4 +12230,4 @@ snapshots: yocto-queue@1.2.1: {} - z-paging@2.8.4: {} + z-paging@2.8.7: {} From bd64215f867f7c0bade91756340aae516f16d590 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Sun, 15 Jun 2025 16:46:57 +0800 Subject: [PATCH 2/3] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E8=87=B3=202.12.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 739d7e5..ad88c87 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "unibest", "type": "commonjs", - "version": "2.12.1", + "version": "2.12.2", "description": "unibest - 最好的 uniapp 开发模板", "update-time": "2025-05-28", "author": { From 3808f515cf55879910f73db5691f2a950ea306e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8F=B2=E9=B8=BD?= <1020103647@qq.com> Date: Sun, 15 Jun 2025 12:50:45 +0000 Subject: [PATCH 3/3] =?UTF-8?q?!16=20=E8=AE=A9http=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E6=94=AF=E6=8C=81=E4=BC=A0=E9=80=92=E6=9B=B4?= =?UTF-8?q?=E5=A4=9A=E5=8F=82=E6=95=B0=20Merge=20pull=20request=20!16=20fr?= =?UTF-8?q?om=20=E6=B5=91=E5=AE=A3=E5=87=AF/N/A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/http.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/utils/http.ts b/src/utils/http.ts index afa1eaf..f4ccd36 100644 --- a/src/utils/http.ts +++ b/src/utils/http.ts @@ -53,12 +53,14 @@ export const httpGet = ( url: string, query?: Record, header?: Record, + options?: Partial, ) => { return http({ url, query, method: 'GET', header, + ...options, }) } @@ -75,6 +77,7 @@ export const httpPost = ( data?: Record, query?: Record, header?: Record, + options?: Partial, ) => { return http({ url, @@ -82,6 +85,7 @@ export const httpPost = ( data, method: 'POST', header, + ...options, }) } /** @@ -92,6 +96,7 @@ export const httpPut = ( data?: Record, query?: Record, header?: Record, + options?: Partial, ) => { return http({ url, @@ -99,6 +104,7 @@ export const httpPut = ( query, method: 'PUT', header, + ...options, }) } @@ -109,12 +115,14 @@ export const httpDelete = ( url: string, query?: Record, header?: Record, + options?: Partial, ) => { return http({ url, query, method: 'DELETE', header, + ...options, }) }