Commit 4a1f10c4 authored by yyh's avatar yyh

代码格式化

parent 13e96747
......@@ -27,7 +27,7 @@
width="30px"
height="30px"
v-if="incrementProof.status !== ChainStatus.SUCCESS"
@click.stop.native="editIncrementProof(incrementProof,index)"
@click.stop="editIncrementProof(incrementProof,index)"
></common-svg>
</div>
</van-step>
......
......@@ -105,6 +105,9 @@ export default class Index extends Mixins(MixinProof) {
id: '',
name: '',
};
private get ChainStatus() {
return ChainStatus;
}
protected resetList() {
this.total = 0;
this.list = [];
......@@ -153,9 +156,6 @@ export default class Index extends Mixins(MixinProof) {
});
this.showSelectTemplate = false;
}
get ChainStatus() {
return ChainStatus;
}
get actionList() {
const {blockChain, edit, del, del2, copy, blockquery , copyhash, zengliang, hide } = this.ActionList;
const obj: any = {
......@@ -196,10 +196,14 @@ export default class Index extends Mixins(MixinProof) {
}
private editIncrementProof(data: any) {
const { incrementProof, preProof, baseProof } = data;
this.$router.push({name: 'ProofDetail',
query: { proofId: incrementProof.id,
this.$router.push({
name: 'ProofDetail',
query: {
proofId: incrementProof.id,
preProof: JSON.stringify(preProof),
baseProof: JSON.stringify(baseProof) }});
baseProof: JSON.stringify(baseProof),
},
});
}
private showMoreAction(data: any) {
this.show = true;
......
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