From 88955483e02880fa3f3f51757e2503b6cb43d430 Mon Sep 17 00:00:00 2001 From: muidea Date: Tue, 16 Oct 2018 09:30:06 +0800 Subject: [PATCH] update code --- src/routes/content/article/Filter.js | 4 ++-- src/routes/content/catalog/Filter.js | 4 ++-- src/routes/content/link/Filter.js | 4 ++-- src/routes/content/media/Filter.js | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/routes/content/article/Filter.js b/src/routes/content/article/Filter.js index 7b5e0fb..a53bc00 100755 --- a/src/routes/content/article/Filter.js +++ b/src/routes/content/article/Filter.js @@ -55,12 +55,12 @@ const Filter = ({ onDeleteItems() } - const { name } = filter + const { filterValue } = filter return ( - {getFieldDecorator('filterValue', { initialValue: name })()} + {getFieldDecorator('filterValue', { initialValue: filterValue })()}
diff --git a/src/routes/content/catalog/Filter.js b/src/routes/content/catalog/Filter.js index cd2bea3..10111a8 100644 --- a/src/routes/content/catalog/Filter.js +++ b/src/routes/content/catalog/Filter.js @@ -55,12 +55,12 @@ const Filter = ({ onDeleteItems() } - const { name } = filter + const { filterValue } = filter return ( - {getFieldDecorator('filterValue', { initialValue: name })()} + {getFieldDecorator('filterValue', { initialValue: filterValue })()}
diff --git a/src/routes/content/link/Filter.js b/src/routes/content/link/Filter.js index 5d9fe35..15b6dfa 100644 --- a/src/routes/content/link/Filter.js +++ b/src/routes/content/link/Filter.js @@ -55,12 +55,12 @@ const Filter = ({ onDeleteItems() } - const { name } = filter + const { filterValue } = filter return ( - {getFieldDecorator('filterValue', { initialValue: name })()} + {getFieldDecorator('filterValue', { initialValue: filterValue })()}
diff --git a/src/routes/content/media/Filter.js b/src/routes/content/media/Filter.js index 41e3796..f52cb65 100644 --- a/src/routes/content/media/Filter.js +++ b/src/routes/content/media/Filter.js @@ -55,12 +55,12 @@ const Filter = ({ onDeleteItems() } - const { name } = filter + const { filterValue } = filter return ( - {getFieldDecorator('filterValue', { initialValue: name })()} + {getFieldDecorator('filterValue', { initialValue: filterValue })()}