修复问候语生成逻辑中的空格问题
This commit is contained in:
@@ -129,7 +129,7 @@ const U2: React.FC = () => {
|
|||||||
if (genderName === "男" || sex === "1" || sex === 1) title = "先生";
|
if (genderName === "男" || sex === "1" || sex === 1) title = "先生";
|
||||||
else if (genderName === "女" || sex === "2" || sex === 2) title = "女士";
|
else if (genderName === "女" || sex === "2" || sex === 2) title = "女士";
|
||||||
return `尊敬的${
|
return `尊敬的${
|
||||||
firstChar ? `${firstChar} ${title}` : title
|
firstChar ? `${firstChar}${title}` : title
|
||||||
},欢迎您的到来:`;
|
},欢迎您的到来:`;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user