Add b coins count after receive

This commit is contained in:
the1812 2019-11-21 19:11:05 +08:00
parent 65d58d709a
commit a3aadffd1c
8 changed files with 11 additions and 9 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -159,7 +159,7 @@
"scrollbar.min.css": "9792340121B6EE6E618A3F62AABD9C992D9C325803DF4879C8A74F02DA0E2213",
"full-tweets-title.min.css": "13A0CF1C96F374CED3FA59A532E28B4B620D7A4C374385A363F32AD1A7656764",
"i18n.zh-TW.min.js": "803F67270809E3258E2B302ADE542B12EF222C83EDC67FB8C68301C5F4E3A1CC",
"custom-navbar.min.js": "4704A82478B92601832F69A218DE999B1B124AF2BFE644C65F69C4AE288AA3B8",
"custom-navbar.min.js": "D58E7F280E91E4435D6937145987E10D943FEBE697E3361CB3AFBE515E7700EF",
"screenshot.min.css": "6310BD2E77013EAAB38675DCD00761C2B7132C79A529B4FE25C8E86EC7E2F967",
"mdi.min.js": "8A22F2F37F88F74FC07CE2FECA7CE135182058BE24409BAF3DEF0D5845B0BE1A",
"feeds-filter.min.js": "10557E498B8BADA3C1C03E8C1DCD6FB24DBA2DA27A5A03BD861054F7E2989D46",

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -733,7 +733,9 @@ class UserInfo extends NavbarComponent {
method: 'POST'
})).json()
console.log(result)
if (result.code === 0 || result.code === 69801) { // 领取成功 || 已领过
if (result.code === 0) {
this.wallet.bcoin_balance += 5
} else if (result.code === 69801) { // 已领过
return
} else {
this.privileges[typeMapping[type]].received = false