/**
     * 去除包裹的大括号
     */
    removeBlock (str) {
      if (str) {
        var reg = /^\{/gi
        var reg2 = /\}$/gi
        str = str.replace(reg, '')
        str = str.replace(reg2, '')
        return str
      } else {
        return str
      }
    }

  

 

相关文章:

  • 2022-02-07
  • 2022-01-06
  • 2022-12-23
  • 2022-12-23
  • 2021-12-22
猜你喜欢
  • 2022-02-07
  • 2022-12-23
  • 2021-11-01
  • 2021-11-17
  • 2022-12-23
  • 2022-02-07
  • 2022-02-07
相关资源
相似解决方案