Commit 2548c4f3 authored by yyh's avatar yyh

未认证上链提示

parent c9d434bc
......@@ -277,6 +277,17 @@ export default class Index extends Vue {
this.$api.proof.sendBlockChian(proof.id).then(() => {
this.$toast.success('提交上链成功');
this.resetList();
}).catch((err: any) => {
if (err.code === 10811) {
this.$dialog.confirm({
title: '提示',
message: '您还未认证,请先认证后在进行上链',
confirmButtonText: '去认证',
cancelButtonText: '取消',
}).then(() => {
this.$router.push({name: 'Auth'});
});
}
});
});
}
......
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