Skip to content

Commit

Permalink
fix(frontend): 表更 SQL执行单据查看详情时页面卡死 #3730
Browse files Browse the repository at this point in the history
  • Loading branch information
hLinx authored and zhangzhw8 committed Mar 27, 2024
1 parent 734f458 commit 28a875c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dbm-ui/frontend/src/views/tickets/common/hooks/logCounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,11 @@ export default function () {
const successLogs: any[] = [];
const failLogs: any[] = [];
wholeLogList.value.forEach((item) => {
if (item.message.match(fileStartReg)) {
const message = item.message.slice(0, 300);
if (message.match(fileStartReg)) {
successLogs.push(item);
}
if (item.message.match(fileEndReg)) {
if (message.match(fileEndReg)) {
failLogs.push(item);
}
});
Expand Down
1 change: 1 addition & 0 deletions dbm-ui/frontend/vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ export default defineConfig(({ mode }) => {
exclude: ['@blueking/ip-selector/dist/vue3.x.js', 'lib/'],
},
server: {
strictPort: true,
host: '127.0.0.1',
port: 8088,
},
Expand Down

0 comments on commit 28a875c

Please sign in to comment.