“Vue 计数器”的版本间的差异
跳到导航
跳到搜索
Jihongchang(讨论 | 贡献) (建立内容为“https://www.bilibili.com/video/BV12J411m7MG/?p=10”的新页面) |
Jihongchang(讨论 | 贡献) |
||
第1行: | 第1行: | ||
− | https://www.bilibili.com/video/BV12J411m7MG/?p=10 | + | https://www.bilibili.com/video/BV12J411m7MG/?p=10<syntaxhighlight lang="html"> |
+ | <div class="input-num"> | ||
+ | <button @click>-</button> | ||
+ | <span>{{}}</span> | ||
+ | <button @click>+</button> | ||
+ | </div> | ||
+ | |||
+ | var app = new Vue({ | ||
+ | el:"#app", | ||
+ | data:{}, | ||
+ | methods:{} | ||
+ | }) | ||
+ | </syntaxhighlight> |
2023年6月8日 (四) 05:31的版本
https://www.bilibili.com/video/BV12J411m7MG/?p=10
<div class="input-num">
<button @click>-</button>
<span>{{}}</span>
<button @click>+</button>
</div>
var app = new Vue({
el:"#app",
data:{},
methods:{}
})