Skip to content

Commit

Permalink
refactor: clean up debug statements and improve DependencyList component
Browse files Browse the repository at this point in the history
- Removed unnecessary debug statement from the setTableData action in the dependency module to streamline the code.
- Eliminated the row-key binding in the DependencyList.vue component, simplifying the template structure and enhancing readability.
  • Loading branch information
tikazyq committed Dec 23, 2024
1 parent 1b60483 commit c70bc16
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/store/modules/dependency.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ const actions = {
getMd5(JSON.stringify(tableData.data)) !==
getMd5(JSON.stringify(state.tableData))
) {
console.debug('setTableData', tableData.data);
commit('setTableData', tableData);
}
return res;
Expand Down
1 change: 0 additions & 1 deletion src/views/dependency/list/DependencyList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ defineOptions({ name: 'ClDependencyList' });
<template>
<cl-list-layout
class="dependency-list"
:row-key="(row: DependencyRepo) => row.name"
:action-functions="actionFunctions"
:nav-actions="navActions"
:table-loading="tableLoading"
Expand Down

0 comments on commit c70bc16

Please sign in to comment.