注释掉根据身份证号推断省、市、县编码的逻辑,以简化数据处理
This commit is contained in:
@@ -169,10 +169,10 @@ const U2: React.FC = () => {
|
||||
|
||||
const address = idCardData.address || "";
|
||||
// 根据身份证号推断省/市/县编码(优先使用 idCardNo)
|
||||
const regionFromId = parseRegionCodesFromId(idCardNo || undefined);
|
||||
const provinceCode = regionFromId.province || "";
|
||||
const cityCode = regionFromId.city || "";
|
||||
const countyCode = regionFromId.county || "";
|
||||
// const regionFromId = parseRegionCodesFromId(idCardNo || undefined);
|
||||
// const provinceCode = regionFromId.province || "";
|
||||
// const cityCode = regionFromId.city || "";
|
||||
// const countyCode = regionFromId.county || "";
|
||||
|
||||
const tryUploadWithPhoto = async () => {
|
||||
const photoPath = idCardData.photo_path;
|
||||
|
||||
Reference in New Issue
Block a user