Compare commits

...

9 Commits

Author SHA1 Message Date
renovate[bot]
79b39a330b chore(deps): update dependency jsdom to v26
Some checks failed
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
CI / build (push) Has been cancelled
2025-08-18 01:37:34 +00:00
renovate[bot]
0555c14618 chore(deps): update all patch dependencies (#13579)
Some checks failed
CodeQL / Analyze (javascript) (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
CI / build (push) Has been cancelled
Issue Close Require / issue-close-require (push) Has been cancelled
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-18 09:36:30 +08:00
renovate[bot]
e619e77976 chore(deps): update pnpm to v10.14.0 (#13597)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-18 09:34:28 +08:00
Charlie Wang
f67009976f docs(locale): update vue-i18n repo link (#13583)
Co-authored-by: neverland <jait.chen@foxmail.com>
2025-08-18 01:29:21 +00:00
renovate[bot]
7d7193d227 chore(deps): update dependency @rslib/core to ^0.12.1 (#13572)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-18 09:25:38 +08:00
renovate[bot]
748e01ba64 chore(deps): update dependency @types/node to ^22.17.2 (#13580)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-18 09:25:13 +08:00
novlan1
8f55dcb69a chore: fix typo (#13592) 2025-08-18 09:23:12 +08:00
renovate[bot]
945154cd1c chore(deps): update dependency @vue/babel-plugin-jsx to ^1.5.0 (#13590)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-18 09:20:54 +08:00
renovate[bot]
3841749f7f chore(deps): update dependency @rsbuild/plugin-less to ^1.4.0 (#13589)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-18 09:20:34 +08:00
12 changed files with 990 additions and 844 deletions

View File

@@ -17,9 +17,9 @@
"*.{ts,tsx,js,vue}": "eslint --fix"
},
"engines": {
"pnpm": ">= 10.13.1"
"pnpm": ">= 10.14.0"
},
"packageManager": "pnpm@10.13.1",
"packageManager": "pnpm@10.14.0",
"devDependencies": {
"@vant/cli": "workspace:*",
"@vant/eslint-config": "workspace:*",
@@ -29,6 +29,6 @@
"prettier": "^3.6.2"
},
"overrides": {
"esbuild": "^0.25.8"
"esbuild": "^0.25.9"
}
}

View File

@@ -30,13 +30,13 @@
"dependencies": {
"enquirer": "2.4.1",
"fast-glob": "^3.3.3",
"fs-extra": "^11.3.0",
"fs-extra": "^11.3.1",
"picocolors": "^1.1.1",
"rslog": "^1.2.9"
"rslog": "^1.2.11"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/node": "^22.16.5",
"@types/node": "^22.17.2",
"rimraf": "^6.0.1",
"typescript": "^5.8.3"
},

View File

@@ -37,7 +37,7 @@
"author": "chenjiahan",
"license": "MIT",
"devDependencies": {
"@rslib/core": "^0.10.6",
"@rslib/core": "^0.12.1",
"typescript": "^5.8.3"
}
}

View File

@@ -37,7 +37,7 @@
"author": "chenjiahan",
"license": "MIT",
"devDependencies": {
"@rslib/core": "^0.10.6",
"@rslib/core": "^0.12.1",
"typescript": "^5.8.3"
}
}

View File

@@ -31,26 +31,26 @@
"release": "rm -rf ./site/node_modules && vant-cli release"
},
"dependencies": {
"@babel/core": "^7.28.0",
"@babel/core": "^7.28.3",
"@babel/preset-typescript": "^7.27.1",
"@rsbuild/core": "^1.4.11",
"@rsbuild/plugin-babel": "^1.0.5",
"@rsbuild/plugin-less": "^1.3.2",
"@rsbuild/plugin-sass": "^1.3.3",
"@rsbuild/plugin-vue": "^1.1.0",
"@rsbuild/plugin-vue-jsx": "^1.1.0",
"@rsbuild/core": "^1.4.15",
"@rsbuild/plugin-babel": "^1.0.6",
"@rsbuild/plugin-less": "^1.4.0",
"@rsbuild/plugin-sass": "^1.3.5",
"@rsbuild/plugin-vue": "^1.1.1",
"@rsbuild/plugin-vue-jsx": "^1.1.1",
"@vant/eslint-config": "workspace:^",
"@vant/touch-emulator": "workspace:^",
"@vitejs/plugin-vue": "^5.2.4",
"@vitejs/plugin-vue-jsx": "^4.2.0",
"@vue/babel-plugin-jsx": "^1.4.0",
"@vue/babel-plugin-jsx": "^1.5.0",
"autoprefixer": "^10.4.21",
"commander": "^14.0.0",
"enquirer": "2.4.1",
"esbuild": "^0.25.8",
"esbuild": "^0.25.9",
"eslint": "^8.57.1",
"fast-glob": "^3.3.3",
"fs-extra": "^11.3.0",
"fs-extra": "^11.3.1",
"hash-sum": "^2.0.0",
"highlight.js": "^11.11.1",
"husky": "^9.1.7",
@@ -63,7 +63,7 @@
"postcss": "^8.5.6",
"postcss-load-config": "^6.0.1",
"prettier": "^3.6.2",
"rslog": "^1.2.9",
"rslog": "^1.2.11",
"rspack-plugin-virtual-module": "^1.0.1",
"terser": "^5.43.1",
"transliteration": "^2.3.5",
@@ -76,7 +76,7 @@
"@types/less": "^3.0.8",
"@types/lodash": "^4.17.20",
"@types/markdown-it": "^14.1.2",
"@types/node": "^22.16.5",
"@types/node": "^22.17.2",
"rimraf": "^6.0.1",
"vue": "^3.5.18"
},

View File

@@ -33,7 +33,7 @@
"author": "chenjiahan",
"license": "MIT",
"devDependencies": {
"@rslib/core": "^0.10.6",
"@rslib/core": "^0.12.1",
"@vue/runtime-core": "^3.5.18",
"typescript": "^5.8.3",
"vant": "workspace:*",

View File

@@ -37,7 +37,7 @@
"license": "MIT",
"devDependencies": {
"@popperjs/core": "^2.11.8",
"@rslib/core": "^0.10.6",
"@rslib/core": "^0.12.1",
"typescript": "^5.8.3"
}
}

View File

@@ -36,7 +36,7 @@
"author": "chenjiahan",
"license": "MIT",
"devDependencies": {
"@rslib/core": "^0.10.6",
"@rslib/core": "^0.12.1",
"typescript": "^5.8.3",
"vue": "^3.5.18"
},

View File

@@ -54,7 +54,7 @@
"vue": "^3.0.0"
},
"devDependencies": {
"@types/node": "^22.16.5",
"@types/node": "^22.17.2",
"@vant/area-data": "workspace:*",
"@vant/cli": "workspace:*",
"@vant/eslint-config": "workspace:*",
@@ -66,7 +66,7 @@
"@vue/test-utils": "^2.4.6",
"csstype": "^3.1.3",
"diffable-html": "^6.0.1",
"jsdom": "^25.0.1",
"jsdom": "^26.1.0",
"typescript": "^5.8.3",
"vite": "^5.4.19",
"vitest": "^3.2.4",

View File

@@ -111,7 +111,7 @@ console.log(currentLang.value); // --> 'zh-CN'
### 业务代码如何实现国际化?
可以使用 [vue-i18n](https://github.com/kazupon/vue-i18n) 来实现。
可以使用 [vue-i18n](https://github.com/intlify/vue-i18n) 来实现。
### 以 CDN 形式引入时,如何使用语言包?

View File

@@ -56,8 +56,8 @@ const onInput = (key: ValueKeys) => {
return;
}
const maxlegnth = current.value === 'customLength' ? 4 : 6;
const newValue = (values.value[current.value] + key).slice(0, maxlegnth);
const maxlength = current.value === 'customLength' ? 4 : 6;
const newValue = (values.value[current.value] + key).slice(0, maxlength);
values.value[current.value] = newValue;

1778
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff