当前位置: 代码迷 >> 综合 >> 钉钉虚拟定位可以打卡
  详细解决方案

钉钉虚拟定位可以打卡

热度:95   发布时间:2023-09-08 22:39:49.0
钉钉虚拟定位可以打卡
分别去字符串前后,左边,右边空格 
复制代码 代码如下:

String.prototype.trim = function(){ return this.replace(/^\s+|\s+$/g,"")}  
String.prototype.ltrim = function(){ return this.replace(/^\s+/g,"")}  
String.prototype.rtrim = function(){ return this.replace(/\s+$/g,"")} 
钉钉虚拟定位可以打卡
  相关解决方案