From b35e3f0bacdbadf5823e06fe8dc6e047089aae38 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 19 一月 2020 00:25:45 +0800 Subject: [PATCH] 2020-01-19 --- src/templates/subtableconfig/index.jsx | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/templates/subtableconfig/index.jsx b/src/templates/subtableconfig/index.jsx index d0cfec9..7877567 100644 --- a/src/templates/subtableconfig/index.jsx +++ b/src/templates/subtableconfig/index.jsx @@ -510,8 +510,8 @@ creatFunc = () => { let _config = JSON.parse(JSON.stringify(this.state.config)) - this.formRef.handleConfirm().then(res => { - let btn = res // 鎸夐挳淇℃伅 + this.actionFormRef.handleConfirm().then(res => { + let btn = res // 鎸夐挳淇℃伅 let newLText = '' // 鍒涘缓瀛樺偍杩囩▼sql let DelText = '' // 鍒犻櫎瀛樺偍杩囩▼sql let isExit = false // 瀛樺偍杩囩▼鏄惁瀛樺湪 @@ -1718,7 +1718,7 @@ }) Api.getSystemConfig({ func: 'sPC_Get_LongParam', - MenuID: btn.uuid + MenuID: btn.OpenType === 'popview' ? btn.linkTab : btn.uuid }).then(res => { if (res.status) { this.setState({ @@ -1733,6 +1733,7 @@ _LongParam = '' } } + this.props.handleSubConfig(btn, config, _LongParam, 'tabButton') } else { this.setState({ -- Gitblit v1.8.0