From a3283ff7f4e2f32ff55ced1a8d2b54d885df4be8 Mon Sep 17 00:00:00 2001 From: BeADre Date: Fri, 11 Dec 2020 01:47:46 +0800 Subject: [PATCH] fix(snackbar): add type definition --- .../src/snackbar-core/SnackbarCore.vue | 10 +- packages/varlet-ui/src/snackbar/Snackbar.vue | 5 +- .../varlet-ui/src/snackbar/example/index.vue | 6 +- packages/varlet-ui/src/snackbar/index.ts | 254 ++++++++++-------- packages/varlet-ui/src/utils/shared.ts | 2 +- 5 files changed, 152 insertions(+), 125 deletions(-) diff --git a/packages/varlet-ui/src/snackbar-core/SnackbarCore.vue b/packages/varlet-ui/src/snackbar-core/SnackbarCore.vue index f09182cd814..916050348b1 100644 --- a/packages/varlet-ui/src/snackbar-core/SnackbarCore.vue +++ b/packages/varlet-ui/src/snackbar-core/SnackbarCore.vue @@ -35,15 +35,7 @@ diff --git a/packages/varlet-ui/src/snackbar/example/index.vue b/packages/varlet-ui/src/snackbar/example/index.vue index 5abb789c87f..4cacb74c16c 100644 --- a/packages/varlet-ui/src/snackbar/example/index.vue +++ b/packages/varlet-ui/src/snackbar/example/index.vue @@ -147,7 +147,7 @@