diff --git a/src/main/resources/views/mobile/therapyRecuperation/lineInfo.html b/src/main/resources/views/mobile/therapyRecuperation/lineInfo.html index b2fc7fd..1194320 100644 --- a/src/main/resources/views/mobile/therapyRecuperation/lineInfo.html +++ b/src/main/resources/views/mobile/therapyRecuperation/lineInfo.html @@ -1071,7 +1071,11 @@ layout("/mobile/platform.html"){ }, deep: true }, - 'formData.roomCount'(newVal) { + 'formData.roomCount'(oldVal, newVal) { + if(oldVal !== newVal) { + this.$set(this.formData, 'roomRemark', '') + this.$set(this.formData, 'roomRemarkName', '') + } this.updateRoomRemarkColumns() } },