|
@@ -1,17 +1,18 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <contextMenu :contextMenuList="context"
|
|
|
|
|
- :tableList="dataSource">
|
|
|
|
|
- <a-table class="quote-table"
|
|
|
|
|
- :columns="columns"
|
|
|
|
|
- :data-source="dataSource"
|
|
|
|
|
- bordered
|
|
|
|
|
- :pagination="false"
|
|
|
|
|
- :scroll="{ x: true, y: 262 }">
|
|
|
|
|
- <template #action>
|
|
|
|
|
- <a>action</a>
|
|
|
|
|
- </template>
|
|
|
|
|
- </a-table>
|
|
|
|
|
- </contextMenu>
|
|
|
|
|
|
|
+ <contextMenu :contextMenuList="context" :tableList="dataSource">
|
|
|
|
|
+ <a-table
|
|
|
|
|
+ class="quote-table"
|
|
|
|
|
+ :columns="columns"
|
|
|
|
|
+ :data-source="dataSource"
|
|
|
|
|
+ bordered
|
|
|
|
|
+ :pagination="false"
|
|
|
|
|
+ :scroll="{ x: '100%', y: '223px' }"
|
|
|
|
|
+ >
|
|
|
|
|
+ <template #action>
|
|
|
|
|
+ <a>action</a>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </a-table>
|
|
|
|
|
+ </contextMenu>
|
|
|
</template>
|
|
</template>
|
|
|
<script lang="ts">
|
|
<script lang="ts">
|
|
|
import { defineComponent, ref } from 'vue';
|
|
import { defineComponent, ref } from 'vue';
|
|
@@ -52,7 +53,7 @@ export default defineComponent({
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
}
|
|
}
|
|
|
.quote-table {
|
|
.quote-table {
|
|
|
- height: 100%;
|
|
|
|
|
|
|
+ height: 223px;
|
|
|
.ant-spin-nested-loading {
|
|
.ant-spin-nested-loading {
|
|
|
.ant-spin-container {
|
|
.ant-spin-container {
|
|
|
}
|
|
}
|