diff --git a/package.json b/package.json index 5e5bac7..d68b2b4 100644 --- a/package.json +++ b/package.json @@ -118,7 +118,7 @@ "pinia": "2.0.36", "pinia-plugin-persistedstate": "3.2.1", "vue": "3.4.21", - "wot-design-uni": "^1.9.1", + "wot-design-uni": "^1.11.1", "z-paging": "2.8.7" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6bbd424..bd2d2c4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -95,7 +95,7 @@ importers: specifier: 3.4.21 version: 3.4.21(typescript@5.9.2) wot-design-uni: - specifier: ^1.9.1 + specifier: ^1.11.1 version: 1.11.1(vue@3.4.21(typescript@5.9.2)) z-paging: specifier: 2.8.7 diff --git a/src/utils/index.ts b/src/utils/index.ts index 00224ae..e0d28c5 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -30,7 +30,7 @@ export function currRoute() { return getUrlObj(fullPath) } -function ensureDecodeURIComponent(url: string) { +export function ensureDecodeURIComponent(url: string) { if (url.startsWith('%')) { return ensureDecodeURIComponent(decodeURIComponent(url)) }