Update index.html
prettier
This commit is contained in:
parent
5b8d317441
commit
c04b0a1905
1 changed files with 11 additions and 16 deletions
|
|
@ -126,8 +126,7 @@
|
||||||
v-model.trim="cardDialog.data.card_name"
|
v-model.trim="cardDialog.data.card_name"
|
||||||
type="text"
|
type="text"
|
||||||
label="Card name "
|
label="Card name "
|
||||||
></q-input
|
></q-input>
|
||||||
>
|
|
||||||
<q-input
|
<q-input
|
||||||
filled
|
filled
|
||||||
dense
|
dense
|
||||||
|
|
@ -189,7 +188,6 @@
|
||||||
</q-dialog>
|
</q-dialog>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
{% endblock %} {% block scripts %} {{ window_vars(user) }}
|
{% endblock %} {% block scripts %} {{ window_vars(user) }}
|
||||||
<script>
|
<script>
|
||||||
const mapCards = obj => {
|
const mapCards = obj => {
|
||||||
|
|
@ -232,7 +230,7 @@
|
||||||
align: 'left',
|
align: 'left',
|
||||||
label: 'Withdraw ID',
|
label: 'Withdraw ID',
|
||||||
field: 'withdraw'
|
field: 'withdraw'
|
||||||
},
|
}
|
||||||
],
|
],
|
||||||
pagination: {
|
pagination: {
|
||||||
rowsPerPage: 10
|
rowsPerPage: 10
|
||||||
|
|
@ -251,9 +249,7 @@
|
||||||
this.g.user.wallets[0].inkey
|
this.g.user.wallets[0].inkey
|
||||||
)
|
)
|
||||||
.then(function (response) {
|
.then(function (response) {
|
||||||
self.cards = response.data
|
self.cards = response.data.map(function (obj) {
|
||||||
.map(function (obj) {
|
|
||||||
|
|
||||||
return mapCards(obj)
|
return mapCards(obj)
|
||||||
})
|
})
|
||||||
console.log(self.cards)
|
console.log(self.cards)
|
||||||
|
|
@ -269,8 +265,7 @@
|
||||||
this.g.user.wallets[0].inkey
|
this.g.user.wallets[0].inkey
|
||||||
)
|
)
|
||||||
.then(function (response) {
|
.then(function (response) {
|
||||||
self.withdrawsOptions = response.data
|
self.withdrawsOptions = response.data.map(function (obj) {
|
||||||
.map(function (obj) {
|
|
||||||
return {
|
return {
|
||||||
label: [obj.title, ' - ', obj.id].join(''),
|
label: [obj.title, ' - ', obj.id].join(''),
|
||||||
value: obj.id
|
value: obj.id
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue