All files / src/views/logic Permission.logic.ts

0% Statements 0/11
0% Branches 0/1
0% Functions 0/1
0% Lines 0/11

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) {
  // 编辑权限逻辑
}