Commit 1071ac40 authored by 郝聪敏's avatar 郝聪敏

Merge branch 'feature/update_url' into 'master'

fix: url特殊字符编码

See merge request !64
parents 2c96075c ace506a2
......@@ -56,7 +56,7 @@ export default {
},
methods: {
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 {
const isAClear = payTypeText.label === "一次交清";
if (arr.includes(this.cardConfig?.status)) {
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