Browse Source

fixed bug

master
1549469775 3 years ago
parent
commit
28191eca50
  1. 1
      packages/playground/components.d.ts
  2. 2
      packages/playground/src/dev/tree.vue

1
packages/playground/components.d.ts

@ -8,6 +8,7 @@ declare module '@vue/runtime-core' {
Panel: typeof import('./src/components/Panel.vue')['default'] Panel: typeof import('./src/components/Panel.vue')['default']
PsButton: typeof import('@princess-ui/components/button')['PsButton'] PsButton: typeof import('@princess-ui/components/button')['PsButton']
PsCaptcha: typeof import('@princess-ui/components/captcha')['PsCaptcha'] PsCaptcha: typeof import('@princess-ui/components/captcha')['PsCaptcha']
PsTree: typeof import('@princess-ui/components/tree')['PsTree']
} }
} }

2
packages/playground/src/dev/tree.vue

@ -1,6 +1,6 @@
<script setup lang="ts"> <script setup lang="ts">
import { ref } from "vue" import { ref } from "vue"
import PsTree, { convertTreeData } from "@princess-ui/components/tree" import { convertTreeData } from "@princess-ui/components/tree"
const list = ref(convertTreeData([ const list = ref(convertTreeData([
{ {

Loading…
Cancel
Save