mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-13 00:08:56 +00:00
feat: add shortName for service
This commit is contained in:
parent
d00fe6df9e
commit
105b4bb8ce
@ -24,6 +24,7 @@ export const Services = {
|
|||||||
group
|
group
|
||||||
layers
|
layers
|
||||||
normal
|
normal
|
||||||
|
shortName
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
};
|
};
|
||||||
|
1
src/types/selector.d.ts
vendored
1
src/types/selector.d.ts
vendored
@ -22,6 +22,7 @@ export type Service = {
|
|||||||
normal?: boolean;
|
normal?: boolean;
|
||||||
group?: string;
|
group?: string;
|
||||||
merge?: string;
|
merge?: string;
|
||||||
|
shortName?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type Instance = {
|
export type Instance = {
|
||||||
|
@ -40,7 +40,7 @@ limitations under the License. -->
|
|||||||
<el-table-column fixed label="Service Names" min-width="220">
|
<el-table-column fixed label="Service Names" min-width="220">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<span class="link" :style="{ fontSize: `${config.fontSize}px` }" @click="clickService(scope)">
|
<span class="link" :style="{ fontSize: `${config.fontSize}px` }" @click="clickService(scope)">
|
||||||
{{ scope.row.label }}
|
{{ scope.row.shortName }}
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@ -208,6 +208,7 @@ limitations under the License. -->
|
|||||||
group: d.group,
|
group: d.group,
|
||||||
normal: d.normal,
|
normal: d.normal,
|
||||||
merge: d.merge,
|
merge: d.merge,
|
||||||
|
shortName: d.shortName,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
if (props.config.metricMode === MetricModes.Expression) {
|
if (props.config.metricMode === MetricModes.Expression) {
|
||||||
|
Loading…
Reference in New Issue
Block a user