Skip to content

Commit 417affb

Browse files
Update style && add componenet name
1 parent 0ac5fc8 commit 417affb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ToolBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<div v-if="!$parent.$props.hasOwnProperty('perPage') || $parent.$props.perPage.show != false" class="my-2 ml-2 bg-gray-100 w-40 p-2 rounded-lg flex flex-row justify-center items-center shadow-lg">
1616
<div class="w-full ">{{trans('perPage')}} </div>
1717
<div class=" relative w-full">
18-
<select @change="rowsChange()" v-model="perPage" class="focus:ring-blue-400 focus:border-blue-400 block appearance-none w-full bg-white border border-gray-400 hover:border-gray-500 px-4 py-2 pr-8 rounded shadow leading-tight focus:outline-none focus:shadow-outline">
18+
<select @change="rowsChange()" v-model="perPage" class="focus:ring-blue-400 focus:border-blue-400 block appearance-none w-max bg-white border border-gray-400 hover:border-gray-500 px-4 py-2 pr-8 rounded shadow leading-tight focus:outline-none focus:shadow-outline">
1919
<option v-for="page in $parent.perPage.counts" :value="page">{{ page }}</option>
2020

2121
</select>

index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ import Alert from "./Alert.vue";
104104
import ToolBar from "./ToolBar.vue";
105105
106106
export default {
107+
name: 'DataTable',
107108
props: {
108109
config: {
109110
type: Object,

0 commit comments

Comments
 (0)