ngx-rs-ant 1.2.7 → 1.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/fesm2020/ngx-rs-ant.mjs
CHANGED
|
@@ -2795,7 +2795,10 @@ class FormComponent {
|
|
|
2795
2795
|
this.loading = true;
|
|
2796
2796
|
this.service.getFormTemplateConfig(this.tenant, this.className, this.template).subscribe(response => {
|
|
2797
2797
|
this.config = response.data.template;
|
|
2798
|
-
if (this.
|
|
2798
|
+
if (this.onlyFrontEnd) {
|
|
2799
|
+
this.loading = false;
|
|
2800
|
+
}
|
|
2801
|
+
else if (this.copyOid || this.oid) {
|
|
2799
2802
|
this.service.getOne(this.tenant, this.className, this.copyOid || this.oid, this.template, this.copyOid)
|
|
2800
2803
|
.subscribe(response => {
|
|
2801
2804
|
this.model = response.data;
|