Skip to content

Commit

Permalink
fix(playground): modify tooltip playground
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoErii committed Feb 20, 2023
1 parent e09db50 commit b4787fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
12 changes: 0 additions & 12 deletions playground/src/views/LTooltip.vue
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
<script setup lang="ts">
import { LButton, LToolTip } from 'lucky-design'
const onSuccess = (res: any) => {
// console.log(res)
}
const onProgress = (ev: ProgressEvent<XMLHttpRequestEventTarget>) => {
// console.log(ev)
}
const beforeUpload = (file: File) => {
// console.log(file)
return Promise.resolve()
}
</script>

<template>
Expand Down
2 changes: 2 additions & 0 deletions playground/src/vite-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ declare module 'lucky-design' {
LBacktop,
LUpload,
LIcon,
LToolTip,
} from 'lucky-design'
export {
LButton,
Expand All @@ -18,5 +19,6 @@ declare module 'lucky-design' {
LBacktop,
LUpload,
LIcon,
LToolTip,
}
}

0 comments on commit b4787fc

Please sign in to comment.