fix: bug fix

This commit is contained in:
dataeaseShu
2025-07-24 10:18:13 +08:00
parent 221d21bd60
commit 99657da716
2 changed files with 20 additions and 1 deletions
@@ -216,9 +216,13 @@ defineExpose({
.flex {
display: flex;
}
.ed-checkbox {
margin-right: 0 !important;
}
.border-r {
border-right: 1px solid #dee0e3;
width: 50%;
}
}
</style>
+16 -1
View File
@@ -417,7 +417,8 @@ const next = () => {
}
})
}
const savePermission = () => {
const save = () => {
const { id, name, permissions, users } = cloneDeep(currentPermission)
const permissionsObj = permissions.map((ele: any) => {
@@ -459,6 +460,18 @@ const savePermission = () => {
handleSearch()
})
}
const savePermission = () => {
if (!isCreate.value && activeStep.value === 0) {
termFormRef.value.validate((res: any) => {
if (res) {
save()
}
})
return
}
save()
}
const columnRules = {
name: [
@@ -809,6 +822,8 @@ const columnRules = {
<style lang="less" scoped>
.permission {
height: 100%;
width: 100%;
.ed-empty {
padding-top: 200px;
padding-bottom: 0;