refactor: 优化系统日志、在线用户、存储管理、部门管理相关代码

This commit is contained in:
2024-04-22 23:13:35 +08:00
parent 2ddd900121
commit 2987d3eb4d
12 changed files with 57 additions and 51 deletions

View File

@@ -82,14 +82,14 @@ const getDataDetail = async () => {
}
const visible = ref(false)
// 打开详情
const open = async (id: string) => {
// 详情
const onDetail = async (id: string) => {
dataId.value = id
await getDataDetail()
visible.value = true
}
defineExpose({ open })
defineExpose({ onDetail })
</script>
<style lang="scss" scoped>