Skip to content

usePermission ​

描述 ​

响应式的 Permissions API。

示例 ​

ts
import { usePermission } from '@base-web-kits/base-tools-vue';

const microphoneAccess = usePermission('microphone');

来源 ​

VueUse