king
2024-07-01 0559bee7aa852d88fedf9002504f52d9e6228eb4
src/templates/zshare/verifycard/index.jsx
@@ -695,11 +695,19 @@
      activeKey = 'cbScripts'
    }
    let oriVerify = fromJS(_verify).toJS()
    if (_verify.wxAppId) {
      if (!window.GLOB.WXApps || window.GLOB.WXApps.filter(app => app.appType === 'public').length === 0) {
        delete _verify.wxAppId
      }
    }
    this.setState({
      activeKey: activeKey,
      verifyInter: verifyInter,
      verify: _verify,
      oriVerify: fromJS(_verify).toJS()
      oriVerify: oriVerify
    })
    if (card.intertype === 'inner') return
@@ -817,6 +825,8 @@
        if (_f.datatype) { // 自定义字段
          if (/decimal|int/ig.test(_f.datatype)) {
            _select.push(`@${_f.field}=1`)
          } else if (/date/ig.test(_f.datatype)) {
            _select.push(`@${_f.field}='1949-10-01'`)
          } else {
            _select.push(`@${_f.field}=''`)
          }