refactor: ♻️ 方法名统一

This commit is contained in:
hxr committed 2024-05-27 00:10:14 +08:00
1 parent a507412429
commit 6a6682a75f
5 files changed
+28 -24

No files matched your search

+5 -3
View File
@@ -26,7 +26,9 @@
<i-ep-search />
搜索
</el-button>
<el-button @click="resetQuery"> <i-ep-refresh />重置 </el-button>
<el-button @click="handleResetQuery">
<i-ep-refresh />重置
</el-button>
</el-form-item>
</el-form>
</div>
@@ -196,7 +198,7 @@ function handleQuery() {
}
/**重置查询 */
function resetQuery() {
function handleResetQuery() {
queryFormRef.value.resetFields();
handleQuery();
}
@@ -282,7 +284,7 @@ function handleDelete(deptId?: number) {
}).then(() => {
DeptAPI.deleteByIds(deptIds).then(() => {
ElMessage.success("删除成功");
resetQuery();
handleResetQuery();
});
});
}