Commit e8b69a8f by FE

del debug

parent db5de29f
...@@ -31,7 +31,6 @@ class OpenApp extends Component { ...@@ -31,7 +31,6 @@ class OpenApp extends Component {
} }
handleClick = () => { handleClick = () => {
alert(typeof this.callApp)
this.callApp.open({ this.callApp.open({
path: this.props.path, path: this.props.path,
// param: // param:
......
...@@ -6,26 +6,26 @@ const CAPTCHAID = '6b0f5f6c8f334f3693ee754ba5692e36' ...@@ -6,26 +6,26 @@ const CAPTCHAID = '6b0f5f6c8f334f3693ee754ba5692e36'
class Captcha extends Component { class Captcha extends Component {
componentDidMount() { componentDidMount() {
// const {getInstance, handleError, onVerify} = this.props const {getInstance, handleError, onVerify} = this.props
// const el = document.getElementById('captcha'); const el = document.getElementById('captcha');
// el && initCaptcha(function () { el && initCaptcha(function () {
// initNECaptcha({ initNECaptcha({
// element: el, element: el,
// captchaId: CAPTCHAID, captchaId: CAPTCHAID,
// mode: 'float', mode: 'float',
// width: 'auto', width: 'auto',
// onVerify: function (err, data) { onVerify: function (err, data) {
// onVerify(err,data) onVerify(err,data)
// } }
// }, },
// instance => { instance => {
// getInstance && getInstance(instance) getInstance && getInstance(instance)
// }, },
// err => { err => {
// handleError && handleError(err) handleError && handleError(err)
// } }
// ) )
// }) })
} }
render() { render() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment