style(develop): 格式化 AppDeployCustom 组件代码

- 使用 ESLint 规则格式化了组件代码
- 调整了缩进、空格和换行
- 修复了一些小的语法问题
This commit is contained in:
aixianling
2024-12-16 16:30:19 +08:00
parent 29bd119ff4
commit ad9676c040

View File

@@ -14,7 +14,8 @@
<el-row type="flex">
<div class="fill">
<el-form-item label="系统类型" prop="type">
<ai-select v-model="form.type" :selectList="dict.getDict('systemType')" @change="form.apps = []"/>
<ai-select v-model="form.type" :selectList="dict.getDict('systemType')"
@change="form.apps = []" />
</el-form-item>
<el-form-item label="更新项目路径" prop="dist">
<el-input v-model="form.dist" placeholder="常填写nginx路径,下载包从这里取" clearable />
@@ -42,9 +43,11 @@
</el-form>
</el-tab-pane>
<el-tab-pane label="方案应用" lazy>
<ai-lib-table :meta="appList" customData :isShowPagination="false" v-bind="$props" disabled :colConfigs="appListConfigs">
<ai-lib-table :meta="appList" customData :isShowPagination="false" v-bind="$props" disabled
:colConfigs="appListConfigs">
<template slot="options" slot-scope="{row}">
<ai-dialog-btn text="编辑" :customFooter="false" dialogTitle="应用配置" width="500px" @onConfirm="handleAppEdit(row)">
<ai-dialog-btn text="编辑" :customFooter="false" dialogTitle="应用配置" width="500px"
@onConfirm="handleAppEdit(row)">
<el-form size="small" label-width="80px">
<el-form-item label="应用名称">
<el-input v-model="row.label" clearable placeholder="请输入应用名称" />
@@ -101,7 +104,7 @@ export default {
},
data() {
return {
form: {apps: [], type: null, sysInfo: {}, customPath: "", extra: {}},
form: { apps: [], type: null, customPath: "", extra: { sysInfo: {} } },
rules: {
name: { required: true, message: "请输入" },
type: { required: true, message: "请选择" },