chore: bump Node.js v18 (#11439)

This commit is contained in:
neverland
2022-12-31 20:19:11 +08:00
committed by GitHub
parent 254b77b1a0
commit 65d6a22f03
7 changed files with 34 additions and 38 deletions
+1 -1
View File
@@ -51,7 +51,7 @@
"vue": "^3.0.0"
},
"devDependencies": {
"@types/node": "^16.11.56",
"@types/node": "^18.11.18",
"@types/jest": "^29.1.1",
"@vant/area-data": "workspace:*",
"@vant/cli": "workspace:*",
+1 -1
View File
@@ -95,7 +95,7 @@ export function formatDataForCascade({
});
}
const options = Array.from(provinceMap.values()) as PickerOption[];
const options = Array.from(provinceMap.values());
if (placeholder.length) {
const county = showCounty ? [makeOption(placeholder[2])] : undefined;