完善语音和桌面权限
This commit is contained in:
parent
f196b5d9ab
commit
7d39a6dbe9
@ -30,16 +30,20 @@ import { getPermissionSet, setPermissionSet } from "../utils/common";
|
||||
const visible = ref(false);
|
||||
const localPermissionSet = reactive({ ...getPermissionSet() });
|
||||
|
||||
const permissionLabels = {
|
||||
const permissionLabels: Record<Permission, string> = {
|
||||
[Permission.edit]: "编辑权限",
|
||||
[Permission.view]: "查看权限",
|
||||
[Permission.download]: "下载权限",
|
||||
[Permission.desktop]: "桌面预览权限",
|
||||
[Permission.call]: "语音通话权限",
|
||||
};
|
||||
|
||||
const permissionDescs = {
|
||||
const permissionDescs: Record<Permission, string> = {
|
||||
[Permission.edit]: "允许创建、修改、删除文件和文件夹",
|
||||
[Permission.view]: "允许查看文件内容和目录结构",
|
||||
[Permission.download]: "允许传输文件到本地",
|
||||
[Permission.desktop]: "允许对方请求预览当前桌面",
|
||||
[Permission.call]: "允许对方请求语音通话",
|
||||
};
|
||||
|
||||
const handleOk = () => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user