Authored by 周少峰

sale error

... ... @@ -57,6 +57,10 @@ const discountSplit = (text, targetString) => {
let endNum = 0,
i;
if (!text) {
return {};
}
for (i = 0; i < text.length; i++) {
if (targetString !== null) {
if (text[i] !== targetString) {
... ...