|
@@ -141,9 +141,11 @@
|
|
|
<div v-show="radio1 === '2'">
|
|
|
<el-form label-position="top" class="aForm">
|
|
|
<el-form-item label="添加子表单">
|
|
|
- <el-button type="primary" icon="plus" round @click="selectHandle(5, form.actionUrl)">选择子表单</el-button>
|
|
|
- <div class="tags-list">
|
|
|
- <el-tag v-for="(user, index) in form.actionUrl" :key="user.id" closable @close="delFormTemplate(index)">{{ user.name }}</el-tag>
|
|
|
+ <div class="flex flex-align-center">
|
|
|
+ <el-button type="primary" icon="plus" round @click="selectHandle(5, form.actionUrl)">选择子表单</el-button>
|
|
|
+ <div class="tags-list inline">
|
|
|
+ <el-tag v-for="(user, index) in form.actionUrl" :key="user.id" closable @close="delFormTemplate(index)">{{ user.name }}</el-tag>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</el-form-item>
|
|
|
|
|
@@ -452,6 +454,12 @@ export default {
|
|
|
}
|
|
|
|
|
|
.tags-list {
|
|
|
+ &.inline {
|
|
|
+ display: inline;
|
|
|
+ width: 50%;
|
|
|
+ margin-top: 0px;
|
|
|
+ margin-left: 10px;
|
|
|
+ }
|
|
|
.el-tag {
|
|
|
margin-right: 10px;
|
|
|
}
|