修复多输入框组件bug

This commit is contained in:
fofolee
2024-12-31 00:20:13 +08:00
parent a2a3dbe0b6
commit 42153d0c95
2 changed files with 3 additions and 3 deletions

View File

@@ -97,7 +97,7 @@ const textProcessing = {
},
// 字符串替换
replaceString: function (text, oldStr, newStr) {
return text.replace(oldStr, newStr);
return text.replaceAll(oldStr, newStr);
},
// 字符串截取
substring: function (text, start, end) {