Skip to content

Commit

Permalink
回退number,太慢了。。。
Browse files Browse the repository at this point in the history
老回退也不是办法,我也许应该搞个dev分支测好了再合并。。。
  • Loading branch information
CC11001100 committed Jan 19, 2021
1 parent 5bdf946 commit 04dc6df
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@

// TODO 更多类型搞进来
let valueString = "";
if (typeof value === "string") {
let valueTypeof = typeof value;
if (valueTypeof === "string") {
valueString = value;
} else if (typeof value === "number") {
valueString = value + "";
} else if (valueTypeof === "number") {
// 太慢了...
// valueString = value + "";
}

if (!valueString) {
Expand Down

0 comments on commit 04dc6df

Please sign in to comment.