随笔分类 - 前端
摘要:
使用props通信 父组件向子组件通信 父组件 <script setup lang="ts"> import ChildProps from "@/view/props/ChildProps.vue"; import { ref } from "vue"; let age = ref(18); <
        阅读全文
                
使用props通信 父组件向子组件通信 父组件 <script setup lang="ts"> import ChildProps from "@/view/props/ChildProps.vue"; import { ref } from "vue"; let age = ref(18); <
        阅读全文
摘要:将name,age提取出来,剩余的放到新对象中 student={ "name": "Kang", "age":19, "location":{ "address": "阿伯", "city": "相关", "state": "a" }, "website": "www.kang" } const 
        阅读全文
                
                    
                
浙公网安备 33010602011771号