Commit ace506a2 authored by 郝聪敏's avatar 郝聪敏

fix: url特殊字符编码

parent 2c96075c
...@@ -56,7 +56,7 @@ export default { ...@@ -56,7 +56,7 @@ export default {
}, },
methods: { methods: {
goNext() { goNext() {
this.$router.push(`/policy/renewal/${this.orderNo}/${this.policySecId}`); this.$router.push(`/policy/renewal/${this.orderNo}/${encodeURIComponent(this.policySecId)}`);
} }
} }
}; };
......
...@@ -54,7 +54,9 @@ export default { ...@@ -54,7 +54,9 @@ export default {
const isAClear = payTypeText.label === "一次交清"; const isAClear = payTypeText.label === "一次交清";
if (arr.includes(this.cardConfig?.status)) { if (arr.includes(this.cardConfig?.status)) {
this.$router.push( this.$router.push(
`/policy/payment-record/${this.policySecId}/${this.cardConfig.status}/${isAClear}` `/policy/payment-record/${encodeURIComponent(this.policySecId)}/${
this.cardConfig.status
}/${isAClear}`
); );
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment