vue3-element-dict 3.3.0 → 3.3.2

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue3-element-dict",
3
3
  "private": false,
4
- "version": "3.3.0",
4
+ "version": "3.3.2",
5
5
  "author": {
6
6
  "name": "shenxiaobu",
7
7
  "url": "https://shenxiaobu.github.io"
@@ -28,7 +28,7 @@
28
28
  "@element-plus/icons-vue": "^2.1.0",
29
29
  "@types/node": "^18.15.12",
30
30
  "@vitejs/plugin-vue": "^6.0.3",
31
- "element-plus": "^2.12.0",
31
+ "element-plus": "^2.13.7",
32
32
  "typescript": "^4.9.3",
33
33
  "vite": "^5.1.6",
34
34
  "vue": "^3.4.21",
package/types/index.d.ts CHANGED
@@ -209,9 +209,10 @@ export interface IFormatFunOut {
209
209
  * @param func 需要防抖的函数
210
210
  * @param wait 等待时长(毫秒),默认 300
211
211
  * @param immediate 是否先立即触发一次,默认 false
212
+ * @param onlyOneTime 是否只触发一次,默认false
212
213
  * @returns 防抖处理后的函数
213
214
  */
214
- export declare function Debounce<T extends (...args: any[]) => any>(func: T, wait?: number, immediate?: boolean): (...args: Parameters<T>) => void
215
+ export declare function Debounce<T extends (...args: any[]) => any>(func: T, wait?: number, immediate?: boolean, onlyOneTime?: boolean): (...args: Parameters<T>) => void
215
216
 
216
217
  /**
217
218
  * 节流函数