|
@@ -20,14 +20,15 @@
|
|
style="width: 264px"
|
|
style="width: 264px"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
- <Table
|
|
|
|
- v-if="filterScenes.length"
|
|
|
|
- :row-key="record => record.modelId"
|
|
|
|
- :columns="cloumns"
|
|
|
|
- :rowSelection="rowSelection"
|
|
|
|
- :data-source="filterScenes"
|
|
|
|
- :pagination="false"
|
|
|
|
- />
|
|
|
|
|
|
+ <div class="table-layout" v-if="filterScenes.length">
|
|
|
|
+ <Table
|
|
|
|
+ :row-key="record => record.modelId"
|
|
|
|
+ :columns="cloumns"
|
|
|
|
+ :rowSelection="rowSelection"
|
|
|
|
+ :data-source="filterScenes"
|
|
|
|
+ :pagination="false"
|
|
|
|
+ />
|
|
|
|
+ </div>
|
|
<div style="padding: 1px;" v-else>
|
|
<div style="padding: 1px;" v-else>
|
|
<Empty
|
|
<Empty
|
|
:description="keyword.length ? '暂无搜索结果': '暂无结果'"
|
|
:description="keyword.length ? '暂无搜索结果': '暂无结果'"
|
|
@@ -137,6 +138,11 @@ watch(visible, (visible, oldvisible) => {
|
|
padding-bottom: 24px;
|
|
padding-bottom: 24px;
|
|
align-items: center;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+.table-layout {
|
|
|
|
+ max-height: 500px;
|
|
|
|
+ overflow-y: auto;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|
|
|
|
|
|
<style lang="less">
|
|
<style lang="less">
|