Auto Commit

上级 8ff9a59c
......@@ -8,36 +8,6 @@
<title>InsCode新手教程</title>
</head>
<body>
<video width="100%" height="100%" src="https://file.iviewui.com/inscode/InsCode.mp4" autoplay controls>
</video>
<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>
</body>
</html>
<template>
<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>
</html>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册