Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxian521 committed Oct 9, 2023
1 parent 699b44b commit a160f2a
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/views/system/dept/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ const {
type="primary"
:size="size"
:icon="useRenderIcon(EditPen)"
@click="openDialog('编辑', row)"
@click="openDialog('修改', row)"
>
编辑
修改
</el-button>
<el-popconfirm
:title="`是否确认删除部门名称为${row.name}的这条数据`"
Expand Down
4 changes: 2 additions & 2 deletions src/views/system/dept/utils/hook.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export function useDept() {
// 实际开发先调用新增接口,再进行下面操作
chores();
} else {
// 实际开发先调用编辑接口,再进行下面操作
// 实际开发先调用修改接口,再进行下面操作
chores();
}
}
Expand All @@ -168,7 +168,7 @@ export function useDept() {
onSearch,
/** 重置 */
resetForm,
/** 新增、编辑部门 */
/** 新增、修改部门 */
openDialog,
/** 删除部门 */
handleDelete,
Expand Down
2 changes: 1 addition & 1 deletion src/views/system/role/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const {
type="primary"
:size="size"
:icon="useRenderIcon(EditPen)"
@click="openDialog('编辑', row)"
@click="openDialog('修改', row)"
>
修改
</el-button>
Expand Down
2 changes: 1 addition & 1 deletion src/views/system/role/utils/hook.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export function useRole() {
// 实际开发先调用新增接口,再进行下面操作
chores();
} else {
// 实际开发先调用编辑接口,再进行下面操作
// 实际开发先调用修改接口,再进行下面操作
chores();
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/views/system/user/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ const {
type="primary"
:size="size"
:icon="useRenderIcon(EditPen)"
@click="openDialog('编辑', row)"
@click="openDialog('修改', row)"
>
修改
</el-button>
Expand Down
2 changes: 1 addition & 1 deletion src/views/system/user/utils/hook.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ export function useUser(tableRef: Ref, treeRef: Ref) {
// 实际开发先调用新增接口,再进行下面操作
chores();
} else {
// 实际开发先调用编辑接口,再进行下面操作
// 实际开发先调用修改接口,再进行下面操作
chores();
}
}
Expand Down

0 comments on commit a160f2a

Please sign in to comment.