fix(项目设置): 文件管理列表复选框

--bug=1018643 --user=李玉号 【项目设置】文件管理-列表复选框-选择所有数据-批量操作-只支持操作10条
https://www.tapd.cn/55049933/s/1271334
This commit is contained in:
shiziyuan9527 2022-10-21 18:07:19 +08:00 committed by lyh
parent f718ced7e8
commit 4428c9c85e
1 changed files with 8 additions and 2 deletions

View File

@ -8,7 +8,7 @@
v-loading="tableIsLoading" v-loading="tableIsLoading"
:data="data" :data="data"
:default-sort="defaultSort" :default-sort="defaultSort"
:class="{'ms-select-all-fixed': showSelectAll, 'row-click': rowClickStyle}" :class="{'ms-select-all-fixed': (showSelectAll && !hidePopover), 'row-click': rowClickStyle}"
:height="screenHeight" :height="screenHeight"
:row-key="rowKey" :row-key="rowKey"
:row-class-name="tableRowClassName" :row-class-name="tableRowClassName"
@ -29,7 +29,7 @@
width="50" width="50"
type="selection"/> type="selection"/>
<ms-table-header-select-popover v-if="enableSelection && showSelectAll" <ms-table-header-select-popover v-if="enableSelection && showSelectAll && !hidePopover"
:page-size="pageSize > total ? total : pageSize" :page-size="pageSize > total ? total : pageSize"
:table-data-count-in-page="data.length" :table-data-count-in-page="data.length"
:total="total" :total="total"
@ -178,6 +178,12 @@ export default {
type: [String, Number], type: [String, Number],
default: 400, default: 400,
}, },
hidePopover: {
type: Boolean,
default() {
return false;
}
},
selectNodeIds: { selectNodeIds: {
type: Array, type: Array,
default() { default() {