feat: 粒子背景+动起来了
This commit is contained in:
@@ -30,7 +30,7 @@ const actionsColumns = computed<any[]>(() => {
|
||||
|
||||
<template>
|
||||
<div class="overflow-x-auto">
|
||||
<table class="table">
|
||||
<table class="table min-w-[600px]">
|
||||
<!-- head -->
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -40,7 +40,7 @@ const actionsColumns = computed<any[]>(() => {
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tbody v-if="data.length > 0">
|
||||
<!-- row -->
|
||||
<tr class="hover" v-for="item in data" :key="item.id">
|
||||
<th>{{ item.id }}</th>
|
||||
@@ -55,6 +55,11 @@ const actionsColumns = computed<any[]>(() => {
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody v-else>
|
||||
<tr>
|
||||
<td colspan="5" class="text-center">暂无数据</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<!-- foot -->
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user