@hostlink/nuxt-light 1.21.12 → 1.21.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json
CHANGED
|
@@ -335,7 +335,12 @@ const onLocalRequest = async (p: any) => {
|
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
337
|
|
|
338
|
-
|
|
338
|
+
console.log(p.pagination);
|
|
339
|
+
|
|
340
|
+
if (p.pagination.rowsPerPage != 0) {
|
|
341
|
+
c = c.forPage(p.pagination.page, p.pagination.rowsPerPage);
|
|
342
|
+
}
|
|
343
|
+
|
|
339
344
|
|
|
340
345
|
const data = await c.all();
|
|
341
346
|
const allData = {
|
|
@@ -103,6 +103,7 @@ const removeField = async (table) => {
|
|
|
103
103
|
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
+
|
|
106
107
|
const createTable = () => {
|
|
107
108
|
light.dialog({
|
|
108
109
|
component: table_add
|
|
@@ -202,6 +203,7 @@ const truncatTable = async () => {
|
|
|
202
203
|
</script>
|
|
203
204
|
<template>
|
|
204
205
|
<l-page title="Database">
|
|
206
|
+
|
|
205
207
|
<l-card>
|
|
206
208
|
<l-list>
|
|
207
209
|
<l-item label="Version">{{ data.version }}</l-item>
|
|
@@ -215,7 +217,7 @@ const truncatTable = async () => {
|
|
|
215
217
|
|
|
216
218
|
<q-table :rows="custom_tables" hide-pagination flat bordered separator="cell" dense
|
|
217
219
|
:rows-per-page-options="[0]" v-model:selected="selectedTable" selection="multiple"
|
|
218
|
-
row-key="Name"
|
|
220
|
+
row-key="Name">
|
|
219
221
|
|
|
220
222
|
<template #top-left>
|
|
221
223
|
<q-btn icon="sym_o_add" @click="createTable()" round flat size="sm">
|