账号:
@@ -52,6 +52,14 @@
+
+
+
文件名: {{ selectedRow ? selectedRow.fileName : '' }}
+ 文件格式: {{ selectedRow ? selectedRow.format : '' }}
+ 文件大小: {{ selectedRow ? selectedRow.fileSize : '' }}
+ 上传者: {{ selectedRow ? selectedRow.uploader : '' }}
+
+
{
};
// 详细信息
+const showAbout = ref(false);
+const selectedRow = ref(null); // 保存要显示的属性值// 详细信息弹出框显示状态的响应式变量
const handleAbout = (row: TableRow) => {
console.log('点击详细信息按钮', row);
- alert('详细信息功能暂未实现' + row.id);
+ selectedRow.value = row; // 将点击的行数据赋给selectedRow
+ showAbout.value = true;
};
+
const userLogin = () => {
console.log(username.value, userPassword.value);
};
@@ -244,4 +260,8 @@ const showPopup = () => {
width: 80%; /* 宽度占80% */
margin: 20px; /* 外边距,上下均为20px */
}
+
+.BoxFileAbout {
+ margin: 30px;
+}
\ No newline at end of file