Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 | import { ref } from "vue"; export const permissions = ref([ { code: "device", name: "测试设备管理" }, { code: "tray", name: "托盘管理" } ]); export function addPermission() { // 新增权限逻辑 } export function editPermission(permission: any) { // 编辑权限逻辑 } |