//去除前后空格 function String.prototype.trim() { return this.replace(/(^\s+)|(\s+$)/g, ""); ret 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交