文件服务表格高度修改

This commit is contained in:
zhujiyan
2024-10-22 21:02:06 +08:00
parent f1033f38ec
commit e83d3899ce

View File

@@ -62,11 +62,12 @@
</div> </div>
</div> </div>
<!-- 以列表形式展示 --> <!-- 以列表形式展示 -->
<div :style="tableHeight">
<vxe-table <vxe-table
style="margin-top: 10px" style="margin-top: 10px"
border border
auto-resize auto-resize
max-height="82%" height="auto"
:data="dirList" :data="dirList"
v-bind="defaultAttribute" v-bind="defaultAttribute"
> >
@@ -121,6 +122,7 @@
</template> </template>
</vxe-column> </vxe-column>
</vxe-table> </vxe-table>
</div>
<div class="list" v-if="dirList.length != 0 && !loading" style="display: none"> <div class="list" v-if="dirList.length != 0 && !loading" style="display: none">
<div class="list_item" v-for="(item, index) in dirList" :key="index"> <div class="list_item" v-for="(item, index) in dirList" :key="index">
@@ -227,6 +229,8 @@ defineOptions({
name: 'govern/device/fileService' name: 'govern/device/fileService'
}) })
const pageHeight = mainHeight(20) const pageHeight = mainHeight(20)
const tableHeight = mainHeight(100)
const loading = ref(false) const loading = ref(false)
//nDid //nDid
const nDid = ref<string>('') const nDid = ref<string>('')