Commit 06be464b authored by chenqikuai's avatar chenqikuai

feat(proof.ts): 上链若次数不足,提示去充值

parent 80d03bd1
......@@ -91,6 +91,18 @@ export default class Proof extends Vue {
this.$router.push({name: 'Auth'});
});
}
if (err.code === 10702) {
this.$dialog.confirm({
title: '提示',
message: '剩余上链次数不足,请充值',
confirmButtonText: '去充值',
cancelButtonText: '取消',
}).then(() => {
this.$router.push({
name: 'Recharge',
});
});
}
});
});
}
......
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