Merge pull request #489 from lt5227/master

fix: 修复新增权限时 id 缺失前端判断错误问题
This commit is contained in:
Archer 2024-06-21 09:33:28 +08:00 committed by GitHub
commit b523c28049
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ const confirm = async () => {
})
if (valid) {
const formData = await getFormData()
formData.id = Date.now()
emit('confirm', formData)
modelValue.value = false
}