particularly complete forum function, add point order export and user delete

This commit is contained in:
2024-03-22 01:47:55 +08:00
parent 87df8d5966
commit 932b83ddcd
52 changed files with 2806 additions and 132 deletions

View File

@@ -337,7 +337,14 @@ onMounted(() => {})
<template>
<NFlex>
<NAlert type="info" style="min-width: 400px">
<NAlert
:type="
accountInfo.settings.enableFunctions.includes(FunctionTypes.Point) && accountInfo.eventFetcherState.online
? 'success'
: 'warning'
"
style="min-width: 400px"
>
启用
<NButton text type="primary" tag="a" href="https://www.yuque.com/megghy/dez70g/ohulp2torghlqqn8" target="_blank">
积分系统
@@ -369,6 +376,9 @@ onMounted(() => {})
<NTabPane name="goods" tab="礼物">
<NFlex>
<NButton type="primary" @click="onModalOpen"> 添加礼物 </NButton>
<NButton @click="$router.push({ name: 'user-goods', params: { id: accountInfo?.name } })" secondary>
前往展示页
</NButton>
</NFlex>
<NDivider />
<NEmpty v-if="goods.filter((g) => g.status != GoodsStatus.Discontinued).length == 0" description="暂无礼物" />