<html>
<head>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
<div :TodoItem

},
methods: {
clickfunction: function(){
this.list.push(this.inputvalue)
},
testfunction: function(index){
this.list.splice(index,1)
}
}
})
</script>
</body>
</html>

相关文章:

  • 2022-03-05
  • 2021-10-09
  • 2021-05-25
  • 2022-02-15
  • 2022-12-23
  • 2021-05-23
  • 2022-12-23
  • 2021-04-16
猜你喜欢
  • 2022-02-09
  • 2021-06-26
  • 2021-11-11
  • 2022-12-23
  • 2022-12-23
  • 2021-10-06
  • 2022-12-23
相关资源
相似解决方案