| | |
| | | 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 |
| | |
| | | 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}=''`) |
| | | } |