Fixed the transaction model issue
This commit is contained in:
parent
8e35f5b81e
commit
a7c75b947a
@ -70,11 +70,6 @@ export default {
|
|||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
selectProposal(modal, pid, title) {
|
|
||||||
this.operationModalType = modal
|
|
||||||
this.selectedProposalId = Number(pid)
|
|
||||||
this.selectedTitle = title
|
|
||||||
},
|
|
||||||
getList() {
|
getList() {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
this.$http.getGovernanceList(this.next).then(res => {
|
this.$http.getGovernanceList(this.next).then(res => {
|
||||||
|
@ -189,6 +189,11 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
selectProposal(modal, pid, title) {
|
||||||
|
this.$parent.operationModalType = modal
|
||||||
|
this.$parent.selectedProposalId = Number(pid)
|
||||||
|
this.$parent.selectedTitle = title
|
||||||
|
},
|
||||||
formatType(v) {
|
formatType(v) {
|
||||||
const txt = String(v).replace('Proposal', '')
|
const txt = String(v).replace('Proposal', '')
|
||||||
const index = txt.lastIndexOf('.')
|
const index = txt.lastIndexOf('.')
|
||||||
|
Loading…
Reference in New Issue
Block a user