king
2024-05-26 6128b532f5397d8863697fc9ffe6f5a6361fca80
src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -2320,7 +2320,7 @@
      Modal.success({
        title: msg,
        onOk: () => {
          this.successContinue(sign, id)
          this.successContinue(sign, id, res)
        }
      })
      return
@@ -2328,10 +2328,10 @@
    }
    this.successContinue(sign, id)
    this.successContinue(sign, id, res)
  }
  successContinue = (sign, id) => {
  successContinue = (sign, id, res) => {
    const { btn } = this.props
    const { btnconfig } = this.state
@@ -2452,6 +2452,16 @@
      } else {
        url = btn.verify.linkUrl
      }
      if (/@/.test(url)) {
        Object.keys(res).forEach(key => {
          url = url.replace(new RegExp('@' + key + '@', 'ig'), res[key])
        })
      }
      if (!/^http/.test(url)) {
        url = window.location.origin + url
      }
      window.open(url)
    }
  }