juzhiyuan commented on a change in pull request #521:
URL: https://github.com/apache/apisix-dashboard/pull/521#discussion_r503836977



##########
File path: src/pages/Route/components/Step2/RequestRewriteView.tsx
##########
@@ -29,7 +29,7 @@ const RequestRewriteView: 
React.FC<RouteModule.Step2PassProps> = ({
     fetchUpstreamList().then(({ data }) => setList(data));
   }, []);
   return (
-    <UpstreamForm ref={upstreamRef} form={form} disabled={disabled} 
list={list} showSelector />
+    <UpstreamForm ref={upstreamRef} form={form} disabled={disabled} 
list={list} showSelector key={1} />

Review comment:
       Why we need this key?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to