diff --git a/framework/sdk-parent/frontend/src/components/new-ui/MsCustomFiledComponent.vue b/framework/sdk-parent/frontend/src/components/new-ui/MsCustomFiledComponent.vue index 3d44f3fccf..034bd8aaae 100644 --- a/framework/sdk-parent/frontend/src/components/new-ui/MsCustomFiledComponent.vue +++ b/framework/sdk-parent/frontend/src/components/new-ui/MsCustomFiledComponent.vue @@ -75,14 +75,15 @@ @click.native="clickPane" v-model="data[prop]" :disabled="disabled" - @change="handleChange"/> + @change="handleChange" :precision="0" :step="1"/> + v-model="data[prop]" :step="0.1"/> = 0) { + e.target.value = e.target.value.substring(0, e.target.value.indexOf('.') + 11); + } + }, handleChange() { if (this.form) { this.$set(this.form, this.data.name, this.data[this.prop]);