feat: 修整用户空白页

This commit is contained in:
DLmaster361
2025-09-02 21:52:43 +08:00
parent 8a21b3da9b
commit 09a294b38f
5 changed files with 3 additions and 24 deletions

View File

@@ -1,3 +0,0 @@
{
"recommendations": ["Vue.volar"]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@@ -267,14 +267,9 @@
<!-- 空状态 -->
<div v-else class="empty-users">
<a-empty description="暂无用户" class="compact-empty">
<a-button type="primary" size="small" @click="handleAddUser(script)">
<template #icon>
<PlusOutlined />
</template>
添加用户
</a-button>
</a-empty>
<div class="empty-content">
<img src="@/assets/NoData.png" alt="暂无用户" class="empty-image" />
</div>
</div>
</a-card>
</a-col>

View File

@@ -24,19 +24,6 @@
</a-button>
</a-space>
</div>
<!-- &lt;!&ndash; 如果没有脚本显示占位符 &ndash;&gt;-->
<!-- <div v-if="scripts.length === 0" class="placeholder-container">-->
<!-- <div class="placeholder-content">-->
<!-- <h2>当前没有脚本</h2>-->
<!-- <p>您还没有创建任何脚本点击下方的新建脚本按钮来创建您的第一个脚本</p>-->
<!-- <a-button type="primary" size="large" @click="handleAddScript">-->
<!-- <template #icon>-->
<!-- <PlusOutlined />-->
<!-- </template>-->
<!-- 新建脚本-->
<!-- </a-button>-->
<!-- </div>-->
<!-- </div>-->
<!-- 空状态 -->
<div v-if="scripts.length === 0" class="empty-state">