【VUE工程】前端实现读取本地文件并显示在文本框内
把helloworld.vue改成以下代码:<template> <div class="hello"> <h1>This is a show file page</h1> <h3>导入文件:<input type="file" name="file" @change="showFile($event)" /> </h3><br> <textarea v-model="in
原创
2021-01-14 19:06:31 ·
6187 阅读 ·
3 评论