replace is not a function

I am using VUE but they are all the same, because they all use replace for regular matching

The solution is also simple, just add the toString method to var

Such as: str.toString().replace()


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324769594&siteId=291194637