diff --git a/src/directive/permissions.ts b/src/directive/permissions.ts index a435735..b37f5ff 100644 --- a/src/directive/permissions.ts +++ b/src/directive/permissions.ts @@ -2,7 +2,7 @@ import type { Directive } from 'vue' export const permissions: Directive = { mounted(el, { instance, value }) { - console.log('permissions', instance) + console.log('permissions', instance, value) el.remove() }, } diff --git a/src/naiveHooks/useDialog.ts b/src/naiveHooks/useDialog.ts index 87c1f24..c25e9e2 100644 --- a/src/naiveHooks/useDialog.ts +++ b/src/naiveHooks/useDialog.ts @@ -54,7 +54,6 @@ export type PickDialogOptions = Partial< * @description 弹出提示框 * @param options * @return - * @param options */ export function createDialog(options?: PickDialogOptions) { const optionsCopy = { ...defaultDialogOptions, ...options }