-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
shinetingli
committed
Feb 4, 2023
1 parent
93c5a98
commit 1d68b82
Showing
42 changed files
with
385 additions
and
10,373 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<template> | ||
<init-data-example></init-data-example> | ||
<!-- <init-tree-data-example></init-tree-data-example> --> | ||
</template> | ||
|
||
<script lang="ts" setup> | ||
import InitDataExample from "./init-data-example.vue"; | ||
import InitTreeDataExample from "./init-treedata-example.vue"; | ||
</script> |
File renamed without changes.
File renamed without changes
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<template> | ||
<draggable-tree :init-data="initObject" @change="handleChange" /> | ||
</template> | ||
|
||
<script lang="ts" setup> | ||
import DraggableTree from "../packages/components/draggable-nested-tree/index.vue"; | ||
const initObject = { | ||
Shrek: {}, | ||
Fiona: { | ||
"Prince Charming": { | ||
LordFarquad: "测试1", | ||
LordLogo: "测试2", | ||
}, | ||
}, | ||
Donkey: [], | ||
Yes: [], | ||
}; | ||
const handleChange = (data: any) => { | ||
console.log(data); | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { createApp } from "vue"; | ||
import App from "./App.vue"; | ||
|
||
import "./assets/main.css"; | ||
|
||
createApp(App).mount("#app"); |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.