|
@@ -346,11 +346,12 @@ Promise.all([
|
|
|
if (matchingFormItem) {
|
|
|
// 如果找到匹配的对象,且opera为'2',则删除newFields中的对象
|
|
|
if (matchingFormItem.opera === '2') {
|
|
|
- // fields 配置是准确的
|
|
|
+ _field.options.hidden = true
|
|
|
+ /*// fields 配置是准确的
|
|
|
newFields.splice(idx, 1)
|
|
|
// list 配置是跟随 fields 配置 顺序来(通过id 查找 id 只在第一次创建 才有效(修改编辑不会同步))
|
|
|
newFieldsList.splice(idx, 1)
|
|
|
- idx--
|
|
|
+ idx--*/
|
|
|
} else {
|
|
|
// 否则,将opera属性添加到newFields中的对象
|
|
|
_field.opera = matchingFormItem.opera
|
|
@@ -412,7 +413,10 @@ Promise.all([
|
|
|
// 修改everright 表单的样式
|
|
|
.self-Everright-formEditor {
|
|
|
:deep(.Everright-formEditor-selectElement) {
|
|
|
- padding: 0px 16px;
|
|
|
+ padding: 4px 8px;
|
|
|
+ }
|
|
|
+ :deep(.Everright-formEditor-TableLayout) {
|
|
|
+ padding: 8px !important;
|
|
|
}
|
|
|
}
|
|
|
}
|