Skip to content

Commit 71e1ff7

Browse files
committed
feature/1.8-Improve system observability
1 parent 5e05b21 commit 71e1ff7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

frontend/packages/core/src/pages/system/api/SystemInsideRouterCreate.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ const SystemInsideRouterCreate = forwardRef<SystemInsideRouterCreateHandle, Syst
115115
.then((response) => {
116116
const { code, data, msg } = response
117117
if (code === STATUS_CODE.SUCCESS) {
118-
const { disable, protocols, path, methods, description, match, proxy } = data.router
118+
const { disable, protocols, path, name, methods, description, match, proxy } = data.router
119119
let newPath = path
120120
let pathMatch = 'full'
121121
if (prefixForce && path?.startsWith(apiPrefix + '/')) {
@@ -128,6 +128,7 @@ const SystemInsideRouterCreate = forwardRef<SystemInsideRouterCreateHandle, Syst
128128
form.setFieldsValue({
129129
disable,
130130
protocols,
131+
name,
131132
path: newPath,
132133
pathMatch,
133134
methods,

0 commit comments

Comments
 (0)