user attach role

This commit is contained in:
JaguarJack
2022-12-11 22:26:21 +08:00
parent c4270a2fc8
commit b63cd5d01c
73 changed files with 224 additions and 5871 deletions

View File

@@ -6,7 +6,7 @@ export function useOpen() {
const id = ref(null)
const title = ref<string>('')
const open = (primary: any) => {
const open = (primary: any = null) => {
title.value = primary ? t('system.edit') : t('system.add')
id.value = primary
visible.value = true