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