摘要: AddDemo: <template> <div> <input type="number" name="Num1" id="Num1" v-model="Num1" >+<input type="number" name="Num2" id="Num2" v-model="Num2" >=<lab 阅读全文
posted @ 2021-09-26 18:18 dshow 阅读(83) 评论(0) 推荐(0) 编辑
摘要: <template> <div> {{dataname}} {{setupname}} <p>Num:{{num}}</p> <p>Age:{{age}}</p> <button @click="plusOne1()">+</button> <button @click="plusOne2()">+ 阅读全文
posted @ 2021-09-25 12:55 dshow 阅读(95) 评论(0) 推荐(0) 编辑
摘要: Child.vue: <template> <div>Child Info:{{message}}</div> </template> <script> import {inject,ref,onMounted} from 'vue' export default { name:'Child', s 阅读全文
posted @ 2021-09-24 23:38 dshow 阅读(118) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="flex-demo"> <div class="inner1" v-on:click="fn" >11</div> <div class="inner2">22</div> <div class="inner1" v-if="showCmd.bValue 阅读全文
posted @ 2021-09-24 18:24 dshow 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 代码1: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" co 阅读全文
posted @ 2021-08-15 13:22 dshow 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 参考代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title 阅读全文
posted @ 2021-01-17 23:21 dshow 阅读(370) 评论(0) 推荐(0) 编辑
摘要: 参考代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title 阅读全文
posted @ 2021-01-17 21:19 dshow 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 参考代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title 阅读全文
posted @ 2021-01-17 19:40 dshow 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 参考代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Vue 阅读全文
posted @ 2021-01-16 17:57 dshow 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 参考代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>路由简 阅读全文
posted @ 2021-01-15 11:35 dshow 阅读(81) 评论(0) 推荐(0) 编辑