Commit e7ebeb0c authored by yyh's avatar yyh

返回提示问题

parent d1224932
...@@ -255,6 +255,7 @@ export default class Detail extends Vue { ...@@ -255,6 +255,7 @@ export default class Detail extends Vue {
} }
private async submit(flag: boolean) { // flase 仅保存 true: 保存并上链 private async submit(flag: boolean) { // flase 仅保存 true: 保存并上链
const detail = [...this.detail, this.extData]; const detail = [...this.detail, this.extData];
this.checkEdited = false;
let id: number = -1; let id: number = -1;
if (this.baseProof) { if (this.baseProof) {
if (this.id) { if (this.id) {
...@@ -281,7 +282,6 @@ export default class Detail extends Vue { ...@@ -281,7 +282,6 @@ export default class Detail extends Vue {
await this.sendBlockChain(id); await this.sendBlockChain(id);
} }
} }
this.checkEdited = false;
// this.$router.push({name: 'ProofList'}); // this.$router.push({name: 'ProofList'});
} }
private save(hashs: string[]) { private save(hashs: string[]) {
......
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