fix: 如果没有对应参数,禁止访问页面

This commit is contained in:
hz
2025-10-31 15:32:08 +08:00
parent f3ad84884a
commit 4e221c52fc

View File

@@ -1,4 +1,5 @@
<script> <script>
export default { export default {
name: 'InsuranceApplicationFlow', name: 'InsuranceApplicationFlow',
data() { data() {
@@ -53,7 +54,12 @@ export default {
TotalPremium: ()=> import ("@/views/ebiz/saleFlowProImprove/components/TotalPremium.vue") TotalPremium: ()=> import ("@/views/ebiz/saleFlowProImprove/components/TotalPremium.vue")
}, },
methods: {}, methods: {},
created() {}, created() {
if(process.env.NODE_ENV === "development") return
if (this.$route.query.orderNo) {
this.$router.push("/")
}
},
mounted() {} mounted() {}
} }
</script> </script>