Auto Commit

上级 8ff9a59c
...@@ -8,36 +8,6 @@ ...@@ -8,36 +8,6 @@
<title>InsCode新手教程</title> <title>InsCode新手教程</title>
</head> </head>
<body> <body>
<video width="100%" height="100%" src="https://file.iviewui.com/inscode/InsCode.mp4" autoplay controls> <iframe width="100%" height="100%" src="//player.bilibili.com/player.html?aid=784117958&bvid=BV1e24y1A7Ze&cid=1141415011&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>
</video>
</body> </body>
</html> </html>
<template> \ No newline at end of file
<div>
<input type="text" v-model="textInput" @input="updateInput">
<span>{{ textHint }}</span>
</div>
</template>
<script>
export default {
data() {
return {
textInput: '',
textHint: ''
}
},
methods: {
updateInput(event) {
// 更新文本框的值
this.textInput = event.target.value
// 根据文本框的值更新提示信息
this.updateHint()
},
updateHint() {
// 根据文本框的值计算提示信息
this.textHint = '您输入了 ' + this.textInput.length + ' 个字符'
}
}
}
</script>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册