From 7c2242685d5b9125583859270cb9a0d7669fd959 Mon Sep 17 00:00:00 2001 From: "@jyuhsin" <729757837@qq.com> Date: Fri, 13 Jun 2025 17:29:35 +0800 Subject: [PATCH] commit --- .../views/mobile/therapyRecuperation/lineInfo.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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() } },