feat: 调整路由跳转方式

This commit is contained in:
duanshuwen
2026-01-30 22:42:40 +08:00
parent c19f129a9c
commit d1a5f74769

View File

@@ -49,8 +49,6 @@
import { getSurveyQuestionnaireUsingGet, submitSurveyQuestionnaireAnswerUsingPost } from '@api'
import { showToast } from 'vant';
const form = ref({
surveyId: '',
answers: []
@@ -99,7 +97,7 @@ const onSubmit = async () => {
form.value.surveyId = ''
form.value.answers = []
router.push({ name: 'result' })
router.replace({ name: 'result' })
}
}
</script>