diff --git a/project/oms/apps/develop/AppDeployCustom/add.vue b/project/oms/apps/develop/AppDeployCustom/add.vue index 3049b065..4f119621 100644 --- a/project/oms/apps/develop/AppDeployCustom/add.vue +++ b/project/oms/apps/develop/AppDeployCustom/add.vue @@ -110,11 +110,13 @@ - - - + + 添加 + + + @@ -246,7 +250,7 @@ export default { // customPath: {required: true, message: "请输入"}, }, colConfigs: [ - {prop: 'text', label: "名称"}, + {prop: 'text', label: "名称", width: 120}, {prop: 'pagePath', label: "应用路径"}, {prop: 'iconPath', label: "默认图标"}, {prop: 'selectedIconPath', label: "选中图标"}, @@ -350,6 +354,11 @@ export default { handleAppEdit(row) { const i = this.form.appList.findIndex(e => e.id == row.id) this.form.appList.splice(i, 1, row) + }, + handleTabbarPosition(i, offset) { + const row = this.tabBar.list[i] + this.tabBar.list.splice(i, 1, this.tabBar.list[i + offset]) + this.tabBar.list.splice(i + offset, 1, row) } }, created() { @@ -365,5 +374,13 @@ export default { .mar-l16 { margin-left: 16px; } + + :deep(.tabBarOptions) { + flex-wrap: wrap; + + .el-button--text + .el-button--text { + margin-left: 0; + } + } }