初始化项目, 添加TDesign等包
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
function getFirstCharacter(str) {
|
||||
return str.toString().substring(0, 1);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
getFirstCharacter: getFirstCharacter,
|
||||
};
|
||||
Reference in New Issue
Block a user