allow the el-dialog body show scrollbar

This commit is contained in:
RockYang
2025-09-06 12:19:59 +08:00
parent 26f3db09a7
commit 1ff0636745
4 changed files with 3 additions and 12 deletions

View File

@@ -119,14 +119,13 @@ body {
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
.el-dialog {
margin: 0;
.el-dialog__body {
//max-height 80vh
overflow-y: auto;
max-height: calc(100vh - 100px);
}
}
}

View File

@@ -122,11 +122,6 @@
</el-tag>
</template>
</el-table-column>
<el-table-column prop="progress" label="进度" width="100">
<template #default="scope">
<el-progress :percentage="scope.row.progress" :stroke-width="4" />
</template>
</el-table-column>
<el-table-column prop="power" label="算力" width="80" />
<el-table-column prop="created_at" label="创建时间" width="180">
<template #default="scope">
@@ -177,9 +172,6 @@
{{ getStatusName(detailDialog.data.status) }}
</el-tag>
</el-descriptions-item>
<el-descriptions-item label="进度"
>{{ detailDialog.data.progress }}%</el-descriptions-item
>
<el-descriptions-item label="算力消耗">{{
detailDialog.data.power
}}</el-descriptions-item>

View File

@@ -1,5 +1,5 @@
<template>
<div class="agreement-config container" v-loading="loading">
<div class="agreement-config container flex flex-col" v-loading="loading">
<md-editor
class="mgb20"
v-model="agreement"

View File

@@ -1,5 +1,5 @@
<template>
<div class="notice-config container" v-loading="loading">
<div class="notice-config container flex flex-col" v-loading="loading">
<md-editor class="mgb20" v-model="notice" :theme="store.theme" @on-upload-img="onUploadImg" />
<div class="flex justify-center p-5">
<el-button type="primary" @click="save">保存</el-button>