@xizs/nuxt-antui 0.0.53 → 0.0.54

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.
@@ -241,7 +241,13 @@ export default defineComponent({
241
241
  }
242
242
  }
243
243
 
244
- props.control.refresh = ()=>tableData.load()
244
+ props.control.refresh = (init:boolean = true)=>{
245
+ if(init){
246
+ pagination.page=1
247
+ }
248
+ tableData.load()
249
+ }
250
+
245
251
 
246
252
  return () => (
247
253
  <div class="flex flex-col gap-2 h-full ">
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@xizs/nuxt-antui",
3
3
  "type": "module",
4
- "version": "0.0.53",
4
+ "version": "0.0.54",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground",