mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-03-01 13:36:55 +08:00
fix: advancedTable no data tip style
This commit is contained in:
parent
9f447e5fe8
commit
edcafb5bcb
@ -739,7 +739,7 @@ export default {
|
||||
}
|
||||
}
|
||||
],
|
||||
data: d,
|
||||
data: [],
|
||||
columns0: [
|
||||
{
|
||||
title: 'Name',
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "naive-ui",
|
||||
"version": "0.2.7",
|
||||
"version": "0.2.8",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
@ -92,6 +92,12 @@
|
||||
/>
|
||||
</n-td>
|
||||
</n-tr>
|
||||
<div
|
||||
v-if="showingData.length===0"
|
||||
class="n-no-data-tip"
|
||||
>
|
||||
No data
|
||||
</div>
|
||||
</n-tbody>
|
||||
</n-table>
|
||||
<!-- 分页 -->
|
||||
|
@ -32,4 +32,8 @@
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.n-no-data-tip{
|
||||
padding: 5px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user