文件服务表格高度问题&初始化选中便携式设备问题修改

This commit is contained in:
zhujiyan
2024-10-23 16:29:13 +08:00
parent 8131158545
commit 896362b62f
3 changed files with 22 additions and 8 deletions

View File

@@ -229,7 +229,7 @@ defineOptions({
name: 'govern/device/fileService'
})
const pageHeight = mainHeight(20)
const tableHeight = mainHeight(100)
const tableHeight = mainHeight(130)
const loading = ref(false)
//nDid
@@ -243,7 +243,8 @@ const isRoot = ref<boolean>(true)
//储存所有点击过的目录
const activePathList: any = ref([])
const nodeClick = (e: any) => {
if (e.level == 2) {
console.log(e,"------");
if (e && (e.level == 2 || e.type == 'device')) {
loading.value = true
nDid.value = e.ndid
dirList.value = []