mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 08:19:15 +08:00
fix: 计划任务报告仅在移动端显示滚动条 (#1562)
This commit is contained in:
parent
a463f237b1
commit
d36dfc5490
@ -158,7 +158,7 @@ const form = reactive({
|
||||
});
|
||||
const rules = reactive({
|
||||
name: [Rules.requiredInput, Rules.imageName],
|
||||
path: [Rules.requiredSelect],
|
||||
path: [Rules.requiredInput],
|
||||
template: [Rules.requiredSelect],
|
||||
});
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
<el-form @submit.prevent v-loading="loading" ref="formRef" :model="form" label-position="top">
|
||||
<el-row type="flex" justify="center">
|
||||
<el-col :span="22">
|
||||
<el-form-item :label="$t('container.path')" :rules="Rules.requiredSelect" prop="path">
|
||||
<el-form-item :label="$t('container.path')" :rules="Rules.requiredInput" prop="path">
|
||||
<el-input v-model="form.path">
|
||||
<template #prepend>
|
||||
<FileList @choose="loadLoadDir" :dir="false"></FileList>
|
||||
|
@ -17,7 +17,7 @@
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('container.path')" :rules="Rules.requiredSelect" prop="path">
|
||||
<el-form-item :label="$t('container.path')" :rules="Rules.requiredInput" prop="path">
|
||||
<el-input v-model="form.path">
|
||||
<template #prepend>
|
||||
<FileList @choose="loadSaveDir" :dir="true"></FileList>
|
||||
|
@ -370,7 +370,7 @@ const rules = reactive({
|
||||
website: [Rules.requiredSelect],
|
||||
dbName: [Rules.requiredSelect],
|
||||
url: [Rules.requiredInput],
|
||||
sourceDir: [Rules.requiredSelect],
|
||||
sourceDir: [Rules.requiredInput],
|
||||
targetDirID: [Rules.requiredSelect, Rules.number],
|
||||
retainCopies: [Rules.number],
|
||||
});
|
||||
|
@ -123,8 +123,8 @@
|
||||
</el-row>
|
||||
</template>
|
||||
<template #main>
|
||||
<div style="overflow: auto">
|
||||
<el-row :gutter="20" v-show="hasRecords" style="min-width: 900px">
|
||||
<div class="mainClass">
|
||||
<el-row :gutter="20" v-show="hasRecords" class="mainRowClass">
|
||||
<el-col :span="8">
|
||||
<div>
|
||||
<ul class="infinite-list" style="overflow: auto">
|
||||
@ -716,4 +716,13 @@ defineExpose({
|
||||
.description {
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1000px) {
|
||||
.mainClass {
|
||||
overflow: auto;
|
||||
}
|
||||
.mainRowClass {
|
||||
min-width: 900px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
Loading…
x
Reference in New Issue
Block a user