From db6d3b6aa27b0e79ed1ad95abb03a9d071a5a409 Mon Sep 17 00:00:00 2001 From: vapao Date: Sat, 27 Mar 2021 08:28:28 +0800 Subject: [PATCH] fix issues --- spug_web/src/pages/deploy/request/Ext1Form.js | 2 +- spug_web/src/pages/deploy/request/Ext2Form.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spug_web/src/pages/deploy/request/Ext1Form.js b/spug_web/src/pages/deploy/request/Ext1Form.js index 5fcace5..d34dba2 100644 --- a/spug_web/src/pages/deploy/request/Ext1Form.js +++ b/spug_web/src/pages/deploy/request/Ext1Form.js @@ -52,7 +52,7 @@ export default observer(function () { visible width={600} maskClosable={false} - title="新建发布申请" + title={`${store.record.id ? '编辑' : '新建'}发布申请`} onCancel={() => store.ext1Visible = false} confirmLoading={loading} onOk={handleSubmit}> diff --git a/spug_web/src/pages/deploy/request/Ext2Form.js b/spug_web/src/pages/deploy/request/Ext2Form.js index 1eb395a..f861836 100644 --- a/spug_web/src/pages/deploy/request/Ext2Form.js +++ b/spug_web/src/pages/deploy/request/Ext2Form.js @@ -73,7 +73,7 @@ export default observer(function () { visible width={800} maskClosable={false} - title="新建发布申请" + title={`${store.record.id ? '编辑' : '新建'}发布申请`} onCancel={() => store.ext2Visible = false} confirmLoading={loading} onOk={handleSubmit}>