优化
This commit is contained in:
@@ -1,13 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="synergr" :id="videoId" v-if="isInit">
|
<div class="synergr" :id="videoId" v-if="isInit" @mousemove.stop="onMousemove" @mouseup="onMouseUp" @mouseleave="isHide = true">
|
||||||
<canvas
|
<canvas
|
||||||
id="synergr-canvas"
|
id="synergr-canvas"
|
||||||
:style="{height: '28px'}"
|
:style="{height: '28px'}"
|
||||||
v-if="canvasWidth"
|
v-if="canvasWidth"
|
||||||
@click="onClick"
|
@click="onClick"
|
||||||
@mousemove.stop="onMousemove"
|
|
||||||
@mouseup="onMouseUp"
|
|
||||||
@mouseleave="isHide = true"
|
|
||||||
:width="canvasWidth"
|
:width="canvasWidth"
|
||||||
height="28">
|
height="28">
|
||||||
</canvas>
|
</canvas>
|
||||||
|
|||||||
Reference in New Issue
Block a user