@processmaker/screen-builder 2.87.0 → 2.87.1
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/package.json
CHANGED
package/src/components/task.vue
CHANGED
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
<vue-form-renderer
|
|
24
24
|
ref="renderer"
|
|
25
25
|
v-model="requestData"
|
|
26
|
+
:class="{ loading: loadingTask }"
|
|
26
27
|
:config="screen.config"
|
|
27
28
|
:computed="screen.computed"
|
|
28
29
|
:custom-css="screen.custom_css"
|
|
@@ -120,6 +121,7 @@ export default {
|
|
|
120
121
|
refreshScreen: 0,
|
|
121
122
|
redirecting: null,
|
|
122
123
|
loadingButton: false,
|
|
124
|
+
loadingTask: false,
|
|
123
125
|
};
|
|
124
126
|
},
|
|
125
127
|
watch: {
|
|
@@ -319,6 +321,9 @@ export default {
|
|
|
319
321
|
})
|
|
320
322
|
.catch(() => {
|
|
321
323
|
this.hasErrors = true;
|
|
324
|
+
})
|
|
325
|
+
.finally(() => {
|
|
326
|
+
this.loadingTask = false;
|
|
322
327
|
});
|
|
323
328
|
});
|
|
324
329
|
},
|
|
@@ -618,3 +623,9 @@ export default {
|
|
|
618
623
|
},
|
|
619
624
|
};
|
|
620
625
|
</script>
|
|
626
|
+
|
|
627
|
+
<style scoped>
|
|
628
|
+
.loading {
|
|
629
|
+
pointer-events: none;
|
|
630
|
+
}
|
|
631
|
+
</style>
|