feat: 修复ESLint格式

This commit is contained in:
fit2cloud-chenyw 2021-03-05 16:16:47 +08:00
parent a647c66b8a
commit 09854fac6d

View File

@ -90,7 +90,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item v-if="taskForm.rate === '1'" label=""> <el-form-item v-if="taskForm.rate === '1'" label="">
<el-input v-model="taskForm.cron" size="mini" style="width: 50%"/> <el-input v-model="taskForm.cron" size="mini" style="width: 50%" />
</el-form-item> </el-form-item>
<el-form-item :label="$t('dataset.end_time')" prop="end"> <el-form-item :label="$t('dataset.end_time')" prop="end">
<el-select v-model="taskForm.end" size="mini" :disabled="taskForm.rate === '0'"> <el-select v-model="taskForm.end" size="mini" :disabled="taskForm.rate === '0'">
@ -157,13 +157,15 @@
type="primary" type="primary"
icon="el-icon-edit" icon="el-icon-edit"
circle circle
@click="addTask(scope.row)"/> @click="addTask(scope.row)"
/>
<el-button <el-button
size="mini" size="mini"
type="danger" type="danger"
icon="el-icon-delete" icon="el-icon-delete"
circle circle
@click="deleteTask(scope.row)"/> @click="deleteTask(scope.row)"
/>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -184,7 +186,10 @@ import { post } from '@/api/dataset/dataset'
export default { export default {
name: 'UpdateInfo', name: 'UpdateInfo',
props: { props: {
table: Object table: {
type: Object,
default: null
}
}, },
data() { data() {
return { return {