fix: 🐛 统一主键为 string 类型

This commit is contained in:
Ray.Hao
2025-04-02 19:01:00 +08:00
parent 57e6033b80
commit ab3584fcf4
21 changed files with 67 additions and 67 deletions

View File

@@ -257,7 +257,7 @@ const rules = reactive({
// 选中的角色
interface CheckedRole {
id?: number;
id?: string;
name?: string;
}
const checkedRole = ref<CheckedRole>({});
@@ -294,7 +294,7 @@ function handleSelectionChange(selection: any) {
}
// 打开角色弹窗
function handleOpenDialog(roleId?: number) {
function handleOpenDialog(roleId?: string) {
dialog.visible = true;
if (roleId) {
dialog.title = "修改角色";