style: 前端缩进2个空格

This commit is contained in:
Captain.B 2020-09-27 18:54:23 +08:00
parent 95293a7377
commit 64039e93f8
1 changed files with 264 additions and 263 deletions

View File

@ -12,7 +12,8 @@
<el-input :disabled="isReadOnly" v-model="form.cronValue" class="inp"
:placeholder="$t('schedule.please_input_cron_expression')"/>
<!-- <el-button type="primary" @click="showCronDialog">{{$t('schedule.generate_expression')}}</el-button>-->
<el-button :disabled="isReadOnly" type="primary" @click="saveCron">{{ $t('commons.save')
<el-button :disabled="isReadOnly" type="primary" @click="saveCron">{{
$t('commons.save')
}}
</el-button>
</el-form-item>
@ -93,16 +94,16 @@
<script>
import Crontab from "../cron/Crontab";
import CrontabResult from "../cron/CrontabResult";
import {cronValidate} from "@/common/js/cron";
import {listenGoBack, removeGoBackListener} from "@/common/js/utils";
import Crontab from "../cron/Crontab";
import CrontabResult from "../cron/CrontabResult";
import {cronValidate} from "@/common/js/cron";
import {listenGoBack, removeGoBackListener} from "@/common/js/utils";
function defaultCustomValidate() {
function defaultCustomValidate() {
return {pass: true};
}
}
export default {
export default {
name: "MsScheduleEdit",
components: {CrontabResult, Crontab},
props: {
@ -260,24 +261,24 @@
return time2 - time1;
}
}
}
}
</script>
<style scoped>
.inp {
.inp {
width: 50%;
margin-right: 20px;
}
}
.el-form-item {
.el-form-item {
margin-bottom: 10px;
}
}
/deep/ .el-select__tags {
/deep/ .el-select__tags {
flex-wrap: unset;
overflow: auto;
}
}
</style>