This commit is contained in:
devezhao 2021-04-13 01:34:51 +08:00
parent 1a00613a1a
commit e1eb5cd72a
2 changed files with 10 additions and 10 deletions

View file

@ -111,23 +111,15 @@ See LICENSE and COMMERCIAL in the project root for license information.
position: relative;
}
.field-aggregation .items .del-wrap .zmdi-forward {
margin-top: 6px;
}
.field-aggregation .items .del-wrap .badge {
margin-right: 20px;
}
.field-aggregation .items .del-wrap a.del {
position: absolute;
font-size: 1.2rem;
padding: 3px 6px;
color: #999;
font-weight: bold;
right: 15px;
display: none;
top: 1px;
margin-right: -9px;
}
.field-aggregation .items .del-wrap a.del:hover {
@ -247,6 +239,14 @@ See LICENSE and COMMERCIAL in the project root for license information.
color: #fff;
}
.form-control-plaintext.formula > .v.field {
color: #4c8bf5;
}
.form-control-plaintext.formula > .v.num {
color: #df5000;
}
.formula-calc .dropdown-menu {
min-width: 120px;
box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1), 0 10px 12px 0 rgba(170, 182, 206, 0.36);

View file

@ -109,7 +109,7 @@ class ContentFieldWriteback extends ActionContentSpec {
</select>
<p>{$L('UpdateMode')}</p>
</div>
<div className="col-5">
<div className={`col-5 ${this.state.targetField ? '' : 'hide'}`}>
<div className={this.state.updateMode === 'FIELD' ? '' : 'hide'}>
<select className="form-control form-control-sm" ref={(c) => (this._sourceField = c)}>
{(this.state.sourceFields || []).map((item) => {