mirror of
https://github.com/yangjian102621/geekai.git
synced 2026-04-26 04:54:28 +08:00
allow the el-dialog body show scrollbar
This commit is contained in:
@@ -119,14 +119,13 @@ body {
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
overflow: hidden;
|
|
||||||
|
|
||||||
.el-dialog {
|
.el-dialog {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
||||||
.el-dialog__body {
|
.el-dialog__body {
|
||||||
//max-height 80vh
|
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
max-height: calc(100vh - 100px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -122,11 +122,6 @@
|
|||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</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="power" label="算力" width="80" />
|
||||||
<el-table-column prop="created_at" label="创建时间" width="180">
|
<el-table-column prop="created_at" label="创建时间" width="180">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
@@ -177,9 +172,6 @@
|
|||||||
{{ getStatusName(detailDialog.data.status) }}
|
{{ getStatusName(detailDialog.data.status) }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="进度"
|
|
||||||
>{{ detailDialog.data.progress }}%</el-descriptions-item
|
|
||||||
>
|
|
||||||
<el-descriptions-item label="算力消耗">{{
|
<el-descriptions-item label="算力消耗">{{
|
||||||
detailDialog.data.power
|
detailDialog.data.power
|
||||||
}}</el-descriptions-item>
|
}}</el-descriptions-item>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="agreement-config container" v-loading="loading">
|
<div class="agreement-config container flex flex-col" v-loading="loading">
|
||||||
<md-editor
|
<md-editor
|
||||||
class="mgb20"
|
class="mgb20"
|
||||||
v-model="agreement"
|
v-model="agreement"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<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" />
|
<md-editor class="mgb20" v-model="notice" :theme="store.theme" @on-upload-img="onUploadImg" />
|
||||||
<div class="flex justify-center p-5">
|
<div class="flex justify-center p-5">
|
||||||
<el-button type="primary" @click="save">保存</el-button>
|
<el-button type="primary" @click="save">保存</el-button>
|
||||||
|
|||||||
Reference in New Issue
Block a user