mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-16 18:45:23 +00:00
fix name
This commit is contained in:
parent
475f235435
commit
ea81614aaf
@ -155,8 +155,12 @@ function visitLayout(row: { id: string }) {
|
|||||||
d.layer === layer.value && d.entity === EntityType[0].value && d.isRoot
|
d.layer === layer.value && d.entity === EntityType[0].value && d.isRoot
|
||||||
)[0] || {};
|
)[0] || {};
|
||||||
dashboardStore.setCurrentDashboard(l);
|
dashboardStore.setCurrentDashboard(l);
|
||||||
|
if (!l.name) {
|
||||||
|
ElMessage.info("Please set a root dashboard");
|
||||||
|
return;
|
||||||
|
}
|
||||||
router.push(
|
router.push(
|
||||||
`/dashboard/${layer.value}/${EntityType[0].value}/${row.id}/${(l.name || "")
|
`/dashboard/${layer.value}/${EntityType[0].value}/${row.id}/${l.name
|
||||||
.split(" ")
|
.split(" ")
|
||||||
.join("-")}`
|
.join("-")}`
|
||||||
);
|
);
|
||||||
|
@ -43,7 +43,7 @@ limitations under the License. -->
|
|||||||
:default-sort="{ prop: 'name' }"
|
:default-sort="{ prop: 'name' }"
|
||||||
@selection-change="handleSelectionChange"
|
@selection-change="handleSelectionChange"
|
||||||
>
|
>
|
||||||
<el-table-column type="selection" width="35" />
|
<el-table-column type="selection" width="55" />
|
||||||
<el-table-column prop="name" label="Name" />
|
<el-table-column prop="name" label="Name" />
|
||||||
<el-table-column prop="layer" label="Layer" width="200" />
|
<el-table-column prop="layer" label="Layer" width="200" />
|
||||||
<el-table-column prop="entity" label="Entity" width="200" />
|
<el-table-column prop="entity" label="Entity" width="200" />
|
||||||
|
Loading…
Reference in New Issue
Block a user