| | |
| | | } else if (res.ErrCode === 'C') { |
| | | const _this = this |
| | | confirm({ |
| | | title: '继续执行?', |
| | | title: '请确认', |
| | | content: res.message, |
| | | onOk() { |
| | | return new Promise(resolve => { |
| | |
| | | } else if (res.ErrCode === 'C') { |
| | | const _this = this |
| | | confirm({ |
| | | title: '继续执行?', |
| | | title: '请确认', |
| | | content: res.message, |
| | | onOk() { |
| | | return new Promise(resolve => { |
| | |
| | | |
| | | this.timer = setTimeout(() => { |
| | | this.props.onChange(val) |
| | | }, btn.formType === 'count_line' ? 100 : 1000) |
| | | }, btn.formType === 'count_line' ? 100 : 500) |
| | | } |
| | | |
| | | plus = () => { |
| | |
| | | |
| | | this.timer = setTimeout(() => { |
| | | this.props.onChange(val) |
| | | }, btn.formType === 'count_line' ? 100 : 1000) |
| | | }, btn.formType === 'count_line' ? 100 : 500) |
| | | } |
| | | |
| | | submit = () => { |
| | |
| | | |
| | | this.timer = setTimeout(() => { |
| | | this.props.onChange(count) |
| | | }, btn.formType === 'count_line' ? 100 : 1000) |
| | | }, btn.formType === 'count_line' ? 100 : 500) |
| | | } |
| | | |
| | | render() { |