From cf4e5b9f7522c84836327806ad02455ef6885237 Mon Sep 17 00:00:00 2001
From: zhanglei <18143753744@163.com>
Date: Mon, 11 Apr 2022 22:42:23 +0800
Subject: [PATCH 1/5] fix:bug
---
src/routes/System/Metadata/AddModal.js | 6 +++---
src/routes/System/Metadata/index.js | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/routes/System/Metadata/AddModal.js b/src/routes/System/Metadata/AddModal.js
index 2d1b79e9b..32a474d5a 100644
--- a/src/routes/System/Metadata/AddModal.js
+++ b/src/routes/System/Metadata/AddModal.js
@@ -167,7 +167,7 @@ class AddModal extends Component {
)}
{/* status */}
- {this.props.isShow?
+ {
(
+
)}
- ) : ''}
+ )}
)
diff --git a/src/routes/System/Metadata/index.js b/src/routes/System/Metadata/index.js
index 28f4375d8..dbf7dfa40 100644
--- a/src/routes/System/Metadata/index.js
+++ b/src/routes/System/Metadata/index.js
@@ -108,14 +108,14 @@ export default class Metadata extends Component {
isShow={false}
{...user}
handleOk={values => {
- const { appName, methodName,id, parameterTypes,path,pathDesc, rpcExt, rpcType, serviceName } = values;
+ const { appName,enabled, methodName,id, parameterTypes,path,pathDesc, rpcExt, rpcType, serviceName } = values;
dispatch({
type: "metadata/update",
payload: {
appName,
methodName,
parameterTypes,
- // enabled,
+ enabled,
pathDesc,
id,
path,
From 62437751ca25f45f34a9e5af5925bf153e36e8cc Mon Sep 17 00:00:00 2001
From: zhanglei <18143753744@163.com>
Date: Mon, 11 Apr 2022 22:53:50 +0800
Subject: [PATCH 2/5] fix:bug
---
src/routes/System/Metadata/AddModal.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/routes/System/Metadata/AddModal.js b/src/routes/System/Metadata/AddModal.js
index 32a474d5a..b879b7584 100644
--- a/src/routes/System/Metadata/AddModal.js
+++ b/src/routes/System/Metadata/AddModal.js
@@ -177,7 +177,7 @@ class AddModal extends Component {
initialValue: enabled,
valuePropName: 'checked',
})(
-
+
)}
)}
From dfdc9f946efd965ae836105c7155a9066ab2a5f8 Mon Sep 17 00:00:00 2001
From: zhanglei <18143753744@163.com>
Date: Mon, 11 Apr 2022 22:54:24 +0800
Subject: [PATCH 3/5] fix:bug
---
src/index.ejs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/index.ejs b/src/index.ejs
index 7475cdb74..5bcac250c 100644
--- a/src/index.ejs
+++ b/src/index.ejs
@@ -27,7 +27,7 @@
- ${process.env.NODE_ENV === 'production' ? '' : 'http://localhost:9095'}
+ ${process.env.NODE_ENV === 'production' ? '' : 'http://shenyu-admin.i-todo.top/'}
From 5f278982d753b2e497d91de83fd35344d154c5d0 Mon Sep 17 00:00:00 2001
From: zhanglei <18143753744@163.com>
Date: Mon, 11 Apr 2022 22:57:04 +0800
Subject: [PATCH 4/5] fix:bug
---
src/index.ejs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/index.ejs b/src/index.ejs
index 5bcac250c..2f68042f2 100644
--- a/src/index.ejs
+++ b/src/index.ejs
@@ -27,7 +27,7 @@
- ${process.env.NODE_ENV === 'production' ? '' : 'http://shenyu-admin.i-todo.top/'}
+ ${process.env.NODE_ENV === 'production' ? '' : 'http://localhost:9095/'}
From ec502f05d4ee1f4996d4b25f27d75a8b27ee7854 Mon Sep 17 00:00:00 2001
From: zhanglei <18143753744@163.com>
Date: Mon, 11 Apr 2022 22:58:58 +0800
Subject: [PATCH 5/5] fix:bug
---
src/index.ejs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/index.ejs b/src/index.ejs
index 2f68042f2..7475cdb74 100644
--- a/src/index.ejs
+++ b/src/index.ejs
@@ -27,7 +27,7 @@
- ${process.env.NODE_ENV === 'production' ? '' : 'http://localhost:9095/'}
+ ${process.env.NODE_ENV === 'production' ? '' : 'http://localhost:9095'}