From f2f30919daac6f577c5236785009c510ebb2ccb7 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期二, 07 十二月 2021 12:18:08 +0800 Subject: [PATCH] update#132068: 嚴選配對篩選後,進行預約,想要詢問的問題等沒有自動帶入 --- PAMapp/pages/recommendConsultant/index.vue | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/PAMapp/pages/recommendConsultant/index.vue b/PAMapp/pages/recommendConsultant/index.vue index 9095aa3..37598dc 100644 --- a/PAMapp/pages/recommendConsultant/index.vue +++ b/PAMapp/pages/recommendConsultant/index.vue @@ -82,6 +82,7 @@ </PopUpFrame> </div> </template> + <script lang="ts"> import { Vue, @@ -93,6 +94,7 @@ } from 'nuxt-property-decorator'; import * as _ from 'lodash'; import { Seniority } from '~/assets/ts/models/enum/seniority'; + import { setRequestQuestionToStorage } from '~/assets/ts/storageRequests'; const localStorage = namespace('localStorage'); @@ -238,6 +240,8 @@ } async makePair() { await this.storeStrictQueryList(this.strictQueryDto).then(dataLength => { + const questions = this.strictQueryDto.requirements.length ? this.strictQueryDto.requirements : []; + setRequestQuestionToStorage(questions); if (dataLength === 0) { this.isVisiblePopUp = true; return; -- Gitblit v1.8.0