This commit is contained in:
Pan 2019-04-02 18:01:53 +08:00
parent 3773a8a106
commit 8a2c4a9549
2 changed files with 4 additions and 5 deletions

View File

@ -52,12 +52,11 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<!-- $t is vue-i18n global function to translate lang (lang in @/lang) -->
<div class="show-d"> <div class="show-d">
{{ $t('table.dragTips1') }} : &nbsp; {{ oldList }} <el-tag>The default order :</el-tag> {{ oldList }}
</div> </div>
<div class="show-d"> <div class="show-d">
{{ $t('table.dragTips2') }} : {{ newList }} <el-tag>The after dragging order :</el-tag> {{ newList }}
</div> </div>
</div> </div>
</template> </template>

View File

@ -1,12 +1,12 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<div style="margin:0 0 5px 20px"> <div style="margin:0 0 5px 20px">
{{ $t('table.dynamicTips1') }} Fixed header, sorted by header order,
</div> </div>
<fixed-thead /> <fixed-thead />
<div style="margin:30px 0 5px 20px"> <div style="margin:30px 0 5px 20px">
{{ $t('table.dynamicTips2') }} Not fixed header, sorted by click order
</div> </div>
<unfixed-thead /> <unfixed-thead />
</div> </div>