Skip to content

Commit

Permalink
perf(frontend): 单据详情代码逻辑优化 #9102
Browse files Browse the repository at this point in the history
  • Loading branch information
hLinx authored and iSecloud committed Jan 17, 2025
1 parent 7507e91 commit 7707080
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dbm-ui/frontend/src/components/db-table/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@
count: 0,
current: 1,
limit: 10,
limitList: [10, 20, 50, 100, 500],
limitList: [10, 20, 50, 100],
align: 'right',
layout: ['total', 'limit', 'list'],
...props.paginationExtra,
Expand Down
2 changes: 1 addition & 1 deletion dbm-ui/frontend/src/services/model/mysql/tendbha.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export default class Tendbha extends ClusterBase {

get slaveEntryDisplayList() {
const port = this.slaves[0]?.port;
return this.cluster_entry.filter((item) => item.role === 'slave_entry').map((item) => `${item.entry}:${port}`);
return this.slaveEntryList.map((item) => `${item}:${port}`);
}

get operationTagTips() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
v-if="ticketData"
class="pb-20">
<BaseInfo :ticket-data="ticketData" />
<TaskInfo :data="ticketData" />
<TaskInfo
:key="ticketId"
:data="ticketData" />
<FlowInfos :data="ticketData" />
</div>
<template
Expand Down

0 comments on commit 7707080

Please sign in to comment.