|
|
@@ -287,9 +287,9 @@
|
|
|
this.$axios.$post(`/uapi/cert/add`, form).then((value) => {
|
|
|
if (value.status === 1) {
|
|
|
// 1未支付,2已支付
|
|
|
- if (this.form.pay_status === '1') {
|
|
|
+ if (parseInt(this.form.pay_status) === 1) {
|
|
|
location.href = `/pay?product_type=12&product_id=${form.item_id}&next=/frontend/skill_cert/resume_improve`;
|
|
|
- } else if (this.form.pay_status === '2') {
|
|
|
+ } else if (parseInt(this.form.pay_status) === 2) {
|
|
|
this.$router.push(`/frontend/skill_cert/resume_improve`);
|
|
|
}
|
|
|
}
|