feat(WechatSmallProject): 新增 微信小程序 课程(包含实验1-4)

This commit is contained in:
2026-05-05 14:38:52 +08:00
parent 69db4c1c07
commit f1679c1767
177 changed files with 1977 additions and 10 deletions

View File

@@ -0,0 +1,13 @@
function splitPhone(str) {
if (str.length !== 11) {
return str
}
var arr = str.split("")
arr.splice(3, 0, '-')
arr.splice(8, 0, '-')
return arr.join("")
}
module.exports = {
splitPhone: splitPhone
}