阅片更改
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-12-29 13:11:34 +08:00
parent 9568186497
commit f1c36ea688
2 changed files with 7 additions and 0 deletions

View File

@ -1162,6 +1162,9 @@ export default {
if (isNAN) { if (isNAN) {
num = '' num = ''
} }
if (isNaN(parseFloat(num))) {
num = Number(num).toFixed(this.digitPlaces)
}
this.$set(this.QuestionsForm, v.Id, num.toString()); this.$set(this.QuestionsForm, v.Id, num.toString());
} }
}); });

View File

@ -333,6 +333,10 @@ export default {
} }
this.$refs.readingChart_report.init(e, obj, zIndex) this.$refs.readingChart_report.init(e, obj, zIndex)
}, },
foo() {
if (!this.$refs.readingChart_report) return false
this.$refs.readingChart_report.foo()
},
limitBlur(questionForm, id, valueType) { limitBlur(questionForm, id, valueType) {
const value = questionForm[id] const value = questionForm[id]
if (valueType === 0) { if (valueType === 0) {