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