style: 缓存管理页面排版
This commit is contained in:
8
src/views/monitor/cache/index.vue
vendored
8
src/views/monitor/cache/index.vue
vendored
@@ -86,7 +86,7 @@ let cacheKeyTableColumns: ColumnsType = [
|
|||||||
|
|
||||||
/**键名列表表格数据 */
|
/**键名列表表格数据 */
|
||||||
let cacheKeyTable = reactive({
|
let cacheKeyTable = reactive({
|
||||||
loading: true,
|
loading: false,
|
||||||
data: [],
|
data: [],
|
||||||
/**当前键名列表的缓存名称 */
|
/**当前键名列表的缓存名称 */
|
||||||
cacheName: '',
|
cacheName: '',
|
||||||
@@ -309,7 +309,7 @@ onMounted(() => {
|
|||||||
:columns="cacheNameTableColumns"
|
:columns="cacheNameTableColumns"
|
||||||
:data-source="cacheNameTable.data"
|
:data-source="cacheNameTable.data"
|
||||||
:loading="cacheNameTable.loading"
|
:loading="cacheNameTable.loading"
|
||||||
:scroll="{ y: 1200 }"
|
:scroll="{ y: 'calc(100vh - 350px)' }"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
:row-selection="{
|
:row-selection="{
|
||||||
type: 'radio',
|
type: 'radio',
|
||||||
@@ -396,7 +396,7 @@ onMounted(() => {
|
|||||||
:columns="cacheKeyTableColumns"
|
:columns="cacheKeyTableColumns"
|
||||||
:data-source="cacheKeyTable.data"
|
:data-source="cacheKeyTable.data"
|
||||||
:loading="cacheKeyTable.loading"
|
:loading="cacheKeyTable.loading"
|
||||||
:scroll="{ y: 1200 }"
|
:scroll="{ y: 'calc(100vh - 350px)' }"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
:row-selection="{
|
:row-selection="{
|
||||||
type: 'radio',
|
type: 'radio',
|
||||||
@@ -484,7 +484,7 @@ onMounted(() => {
|
|||||||
<a-typography-paragraph>
|
<a-typography-paragraph>
|
||||||
<a-textarea
|
<a-textarea
|
||||||
:value="cacheKeyInfo.data.cacheValue"
|
:value="cacheKeyInfo.data.cacheValue"
|
||||||
:auto-size="{ minRows: 4, maxRows: 10 }"
|
:auto-size="{ minRows: 4, maxRows: 20 }"
|
||||||
:maxlength="4000"
|
:maxlength="4000"
|
||||||
:disabled="true"
|
:disabled="true"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -291,7 +291,7 @@ onMounted(() => {
|
|||||||
:size="tableState.size"
|
:size="tableState.size"
|
||||||
:row-class-name="fnTableStriped"
|
:row-class-name="fnTableStriped"
|
||||||
:pagination="tablePagination"
|
:pagination="tablePagination"
|
||||||
:scroll="{ y: 450 }"
|
:scroll="{ y: 'calc(100vh - 480px)' }"
|
||||||
>
|
>
|
||||||
</a-table>
|
</a-table>
|
||||||
</a-card>
|
</a-card>
|
||||||
|
|||||||
Reference in New Issue
Block a user