Merge branch 'main' of https://gogs.yxxurl.com/Kelvin/api2gpt-web
continuous-integration/drone/push Build is passing Details

pull/1/head
franktrue 3 years ago
commit 4907ac0fda

@ -4,10 +4,13 @@
<template #header>
<div class="card-header">
<span>帐户管理</span>
<div>
<el-button type="success" style="margin-right: 10px;" @click="flush()"></el-button>
<router-link to="/money">
<el-button type="primary">去充值</el-button>
</router-link>
</div>
</div>
</template>
<el-row :gutter="20" class="info">
<el-col :span="8">帐户余额<el-text class="mx-1" >{{ NumFilter(userBalance) }}</el-text></el-col>
@ -160,12 +163,18 @@ function NumFilter (value) {
let realVal = parseFloat(value).toFixed(2)
return realVal
}
function NumFilter4 (value) {
//
let realVal = parseFloat(value).toFixed(4)
return realVal
}
function flush () {
getIndex()
proxy.$modal.msgSuccess("刷新成功");
}
getIndex()
</script>

Loading…
Cancel
Save