docs: explain dashboard panels data and display boundaries
This commit is contained in:
1 parent
631fe30012
commit
145d04e9db
9 files changed
+39
No files matched your search
@@ -1,4 +1,5 @@
|
||||
<script>
|
||||
/** 首页推介摘要:区分申请权限、已开通和加载失败,永久关系模式额外展示邀请人数,所有入口转入完整推介页。 */
|
||||
import "~/assets/styles/HomeReferralPanel.DsgN33ME.css";
|
||||
import { toDisplayString } from "vue";
|
||||
import { renderList } from "vue";
|
||||
@@ -100,6 +101,7 @@ var x = [`aria-busy`],
|
||||
value: I.value?.withdrawn_amount,
|
||||
},
|
||||
]);
|
||||
// 金额固定两位小数,人数要求非负整数;缺失或非有限值显示占位,不冒充零值。
|
||||
function W(e, t = !0) {
|
||||
if (
|
||||
(typeof e != `number` && typeof e != `string`) ||
|
||||
@@ -115,6 +117,7 @@ var x = [`aria-busy`],
|
||||
maximumFractionDigits: t ? 2 : 0,
|
||||
});
|
||||
}
|
||||
// 请求有 10 秒截止时间;无链接时必须有明确的 0/1 权限,否则不展示错误的开通状态。
|
||||
async function G() {
|
||||
if (!z) {
|
||||
((z = !0), (L.value = !0), (R.value = ``));
|
||||
@@ -140,6 +143,7 @@ var x = [`aria-busy`],
|
||||
}
|
||||
return (
|
||||
onMounted(G),
|
||||
// 加载、错误、已开通和未开通分支互斥;未知金额不显示货币前缀。
|
||||
(n, r) => {
|
||||
let o = Icon,
|
||||
f = NuxtLink,
|
||||
|
||||
Reference in new issue
Block a user