adminforth 2.4.0-next.186 → 2.4.0-next.187

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.
@@ -177,6 +177,10 @@
177
177
  columnWidths.value = !headerRefs.value ? [] : headerRefs.value.map((el: HTMLElement) => el.offsetWidth);
178
178
  });
179
179
 
180
+ watch([isLoading, () => props.isLoading], () => {
181
+ emit('update:tableLoading', isLoading.value || props.isLoading);
182
+ });
183
+
180
184
  const totalPages = computed(() => {
181
185
  return dataResult.value?.total ? Math.ceil(dataResult.value.total / props.pageSize) : 1;
182
186
  });
@@ -190,8 +194,8 @@
190
194
  pageInput.value = p.toString();
191
195
  }
192
196
 
193
- const emites = defineEmits([
194
- 'update:activeTab',
197
+ const emit = defineEmits([
198
+ 'update:tableLoading',
195
199
  ]);
196
200
 
197
201
  function onPageInput(event: any) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "2.4.0-next.186",
3
+ "version": "2.4.0-next.187",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",