guoqqqi commented on a change in pull request #2347:
URL: https://github.com/apache/apisix-dashboard/pull/2347#discussion_r828665292
##########
File path: web/src/pages/Upstream/Create.tsx
##########
@@ -44,6 +44,14 @@ const Page: React.FC = (props) => {
}
}
+ if (newData?.checks?.active) {
+ const host = newData?.checks?.active.host;
+ const http_path = newData?.checks?.active.http_path;
+ const url = host + http_path;
+ newData.checks.active.url = url;
Review comment:
means using this syntax

--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]