Commit 7017294e authored by Reza Sahebgharan's avatar Reza Sahebgharan

feat(MaxLen ): set default MaxLen

parent f9d01393
Pipeline #751 passed with stages
in 45 minutes and 26 seconds
...@@ -128,7 +128,7 @@ export default { ...@@ -128,7 +128,7 @@ export default {
CodeInPacs: "", CodeInPacs: "",
Modality: "", Modality: "",
HisLinkId: "", HisLinkId: "",
MaxLen: "", MaxLen: 0,
_id: "" _id: ""
}, },
snackbar: false, snackbar: false,
...@@ -203,6 +203,7 @@ export default { ...@@ -203,6 +203,7 @@ export default {
openNewDialog() { openNewDialog() {
for (let prop in this.DevicemapForm) { for (let prop in this.DevicemapForm) {
this.$set(this.DevicemapForm, prop, ""); this.$set(this.DevicemapForm, prop, "");
if (prop == "MaxLen") this.$set(this.DevicemapForm, prop, 0);
} }
this.selectedClient = undefined; this.selectedClient = undefined;
this.selectedHisLink = undefined; this.selectedHisLink = undefined;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment