摘要: 需求是在有限时间看图片内容 用鼠标左右键来快速选则答案 下边是解决方案: <template> <div @mouseup="onContextMenu" ref="listBox"> <!-- ...内容 --> </div> </template> methods: { //阻止右键默认行为 p 阅读全文
posted @ 2020-09-14 12:06 MrXuan 阅读(381) 评论(0) 推荐(0)
摘要: Page({ /** * 页面的初始数据 */ data: { num:"0", courseList:[ { time:'2018-2-15', name:'1', event:'1' }, { time: '2018-2-15', name: '2', event: '2' }, { time: 阅读全文
posted @ 2020-06-10 15:41 MrXuan 阅读(267) 评论(0) 推荐(0)