Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
traceSourceMb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yanyanhong
traceSourceMb
Commits
bb3f2562
Commit
bb3f2562
authored
Dec 21, 2020
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复预览模板后,点击使用无法转跳到填写存证页面
parent
f47811c9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
Add.vue
src/views/template/Add.vue
+4
-0
EditTemplate.vue
src/views/template/EditTemplate.vue
+5
-0
No files found.
src/views/template/Add.vue
View file @
bb3f2562
...
@@ -111,6 +111,10 @@ export default class Add extends Vue {
...
@@ -111,6 +111,10 @@ export default class Add extends Vue {
private
async
employ
()
{
private
async
employ
()
{
try
{
try
{
const
res
=
await
this
.
commitTemplate
();
const
res
=
await
this
.
commitTemplate
();
this
.
$router
.
push
({
name
:
'ProofDetail'
,
query
:
{
templateId
:
res
.
id
},
});
}
catch
(
err
)
{
}
catch
(
err
)
{
this
.
$toast
(
err
);
this
.
$toast
(
err
);
}
}
...
...
src/views/template/EditTemplate.vue
View file @
bb3f2562
...
@@ -106,6 +106,11 @@ export default class Add extends Vue {
...
@@ -106,6 +106,11 @@ export default class Add extends Vue {
private
async
employ
()
{
private
async
employ
()
{
try
{
try
{
const
res
=
await
this
.
commitTemplate
();
const
res
=
await
this
.
commitTemplate
();
this
.
$router
.
push
({
name
:
'ProofDetail'
,
query
:
{
templateId
:
res
.
id
},
});
}
catch
(
err
)
{
}
catch
(
err
)
{
this
.
$toast
(
err
);
this
.
$toast
(
err
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment