|
|
@ -13,8 +13,6 @@ const typeIndex = ref(0) |
|
|
|
// 角色 |
|
|
|
// 角色 |
|
|
|
function getRoleData() { |
|
|
|
function getRoleData() { |
|
|
|
getRole(1).then((res) => { |
|
|
|
getRole(1).then((res) => { |
|
|
|
console.log('角色', res) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
roleList.value = res |
|
|
|
roleList.value = res |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
@ -22,7 +20,6 @@ getRoleData() |
|
|
|
// 应用 |
|
|
|
// 应用 |
|
|
|
function getAppData() { |
|
|
|
function getAppData() { |
|
|
|
getAppList().then((res) => { |
|
|
|
getAppList().then((res) => { |
|
|
|
console.log('应用', res) |
|
|
|
|
|
|
|
application.value = res |
|
|
|
application.value = res |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|