|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
- <Demo15/>
|
|
|
+ <Demo16 x='哈哈' a=1 b=2 />
|
|
|
<!--
|
|
|
<Demo1 />
|
|
|
<Demo2 />
|
|
@@ -15,6 +15,7 @@
|
|
|
<Demo11/>
|
|
|
<Demo12/>
|
|
|
<Demo13/>
|
|
|
+ <Demo15/>
|
|
|
-->
|
|
|
<!--
|
|
|
<div>
|
|
@@ -27,7 +28,8 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup lang="ts" name="App">
|
|
|
-import { ref } from "vue";
|
|
|
+import { ref, reactive } from "vue";
|
|
|
+// import {PersonList} from '@/types/demo16'
|
|
|
let today = ref(12);
|
|
|
|
|
|
let flower: any = ref(10);
|
|
@@ -35,7 +37,21 @@ let flower: any = ref(10);
|
|
|
function show() {
|
|
|
console.log(today.value, "flower");
|
|
|
}
|
|
|
-
|
|
|
+// let list = []
|
|
|
+// let list = reactive([
|
|
|
+// {
|
|
|
+// name: "孙悟空",
|
|
|
+// age: 13,
|
|
|
+// id:'12'
|
|
|
+
|
|
|
+// },
|
|
|
+// {
|
|
|
+// name: "豬八戒",
|
|
|
+// age: 10,
|
|
|
+// id:"123"
|
|
|
+
|
|
|
+// },
|
|
|
+// ])
|
|
|
// import Demo1 from "./components/Demo1.vue";
|
|
|
// import Demo2 from "./components/Demo2.vue";
|
|
|
// import Demo3 from "./components/Demo3.vue";
|
|
@@ -50,6 +66,7 @@ function show() {
|
|
|
// import Demo12 from "./components/Demo12.vue";
|
|
|
// import Demo13 from "./components/Demo13.vue";
|
|
|
// import Demo14 from "./components/Demo14.vue";
|
|
|
-import Demo15 from "./components/Demo15.vue";
|
|
|
+// import Demo15 from "./components/Demo15.vue";
|
|
|
+import Demo16 from "./components/Demo16.vue";
|
|
|
</script>
|
|
|
<style lang="scss" scoped></style>
|