From 1a67732f77de8afd138b6e75235edcc4c0e9a166 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 16 一月 2020 23:29:57 +0800 Subject: [PATCH] 2020-01-16 --- src/templates/formtabconfig/actionform/index.jsx | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/templates/formtabconfig/actionform/index.jsx b/src/templates/formtabconfig/actionform/index.jsx index f768035..48c63df 100644 --- a/src/templates/formtabconfig/actionform/index.jsx +++ b/src/templates/formtabconfig/actionform/index.jsx @@ -81,6 +81,16 @@ item.options = btnIcons } else if (item.key === 'sqlType') { item.options = this.state.insertUpdateOptions + } else if (item.key === 'OpenType') { + item.options = [ + { + value: 'prompt', + text: this.props.dict['header.form.prompt'] + }, { + value: 'exec', + text: this.props.dict['header.form.exec'] + } + ] } item.hidden = !_options.includes(item.key) return item @@ -292,10 +302,7 @@ duration: 10 }) } else { - resolve({ - type: 'action', - values - }) + resolve(values) } } else { reject(err) -- Gitblit v1.8.0