04 2021 档案

摘要:1. vue如何将数据渲染到页面? 通过v-for指令将data数据渲染到页面 2.v-text和 v-html的区别 v-text:不可以解析html标签,v-html可以解析html标签 3. 如何自定义按键修饰符 通过Vue.config.keyCodes.按键=按键对应的keyCodes码 阅读全文
posted @ 2021-04-29 10:18 bscman 阅读(52) 评论(0) 推荐(0)
摘要:<template> <canvas id="canvas" :width="canvas_clientWidth" :height="canvas_clientHeight" @click="refresh" ref="canvas" ></canvas> </template> <script> 阅读全文
posted @ 2021-04-29 00:16 bscman 阅读(149) 评论(0) 推荐(0)