Fixed the transaction model issue

This commit is contained in:
liangping 2022-09-06 08:25:23 +08:00
parent 8e35f5b81e
commit a7c75b947a
2 changed files with 5 additions and 5 deletions

View File

@ -70,11 +70,6 @@ export default {
this.getList()
},
methods: {
selectProposal(modal, pid, title) {
this.operationModalType = modal
this.selectedProposalId = Number(pid)
this.selectedTitle = title
},
getList() {
this.loading = true
this.$http.getGovernanceList(this.next).then(res => {

View File

@ -189,6 +189,11 @@ export default {
},
},
methods: {
selectProposal(modal, pid, title) {
this.$parent.operationModalType = modal
this.$parent.selectedProposalId = Number(pid)
this.$parent.selectedTitle = title
},
formatType(v) {
const txt = String(v).replace('Proposal', '')
const index = txt.lastIndexOf('.')