fix: advancedTable no data tip style

This commit is contained in:
JiwenBai 2019-07-15 18:56:08 +08:00
parent 9f447e5fe8
commit edcafb5bcb
4 changed files with 12 additions and 2 deletions

View File

@ -739,7 +739,7 @@ export default {
}
}
],
data: d,
data: [],
columns0: [
{
title: 'Name',

View File

@ -1,6 +1,6 @@
{
"name": "naive-ui",
"version": "0.2.7",
"version": "0.2.8",
"description": "",
"main": "index.js",
"scripts": {

View File

@ -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>
<!-- 分页 -->

View File

@ -32,4 +32,8 @@
display: flex;
justify-content: space-between;
}
.n-no-data-tip{
padding: 5px;
text-align: center;
}
}