Commit bb3f2562 authored by chenqikuai's avatar chenqikuai

fix: 修复预览模板后,点击使用无法转跳到填写存证页面

parent f47811c9
......@@ -111,6 +111,10 @@ export default class Add extends Vue {
private async employ() {
try {
const res = await this.commitTemplate();
this.$router.push({
name: 'ProofDetail',
query: { templateId: res.id },
});
} catch (err) {
this.$toast(err);
}
......
......@@ -106,6 +106,11 @@ export default class Add extends Vue {
private async employ() {
try {
const res = await this.commitTemplate();
this.$router.push({
name: 'ProofDetail',
query: { templateId: res.id },
});
} catch (err) {
this.$toast(err);
}
......
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