摘要:
<template> <div class="person"></div> <h2>姓名{{ person.name }}</h2> <h2>年龄{{ person.age }}</h2> <button @click="changeage">修改</button> </template> <scr 阅读全文
摘要:
<template> <div class="person"></div> </template> <script lang="ts" setup name="person"> import { ref } from "vue"; let name = ref("zhangsan") let age 阅读全文
摘要:
<template> <div class="person"></div> </template> <script lang="ts" setup name="person"> </script> <style scoped> </style> 阅读全文
摘要:
<template> <div class="mylist"> <h1>一辆{{ car.brand }},价值{{ car.price }}</h1> <button @click="changeprice">修改价格</button> <br> <h2>列表</h2> <ul> <li v-fo 阅读全文
摘要:
<template> <div class="mylist"> <h1>一辆{{ car.brand }},价值{{ car.price }}</h1> <button @click="changeprice">修改价格</button> <br> <h2>列表</h2> <ul> <li v-fo 阅读全文
摘要:
<template> <div class="mylist"> <h1>一辆{{ car.brand }},价值{{ car.price }}</h1> <button @click="changeprice">修改价格</button> <br> <h2>列表</h2> <ul> <li v-fo 阅读全文
摘要:
<template> <div class="mylist"> <h1>一辆{{ car.brand }},价值{{ car.price }}</h1> <button @click="changeprice">修改价格</button> <br> <h2>列表</h2> <ul> <li v-fo 阅读全文
摘要:
<template> <div class="mylist"> <h1>一辆{{ car.brand }},价值{{ car.price }}</h1> <button @click="changeprice">修改价格</button> </div> </template> <script lan 阅读全文
摘要:
<template> <div class="mylist"> <h2>姓名:{{name}}</h2> <h2>年龄:{{age}}</h2> <h2>电话:{{tel}}</h2> <button @click="changename">修改姓名</button> <button @click= 阅读全文