|
@@ -112,9 +112,9 @@ export default {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
newTime = new Date()
|
|
newTime = new Date()
|
|
- if (newTime - time > 300) {
|
|
|
|
- this.isSelecting = true
|
|
|
|
- }
|
|
|
|
|
|
+ // if (newTime - time > 300) {
|
|
|
|
+ this.isSelecting = true
|
|
|
|
+ // }
|
|
if (this.isSelecting) {
|
|
if (this.isSelecting) {
|
|
if (typeof event.target.className === 'string' && event.target.className.indexOf('mouse-select-wrap') !== -1) {
|
|
if (typeof event.target.className === 'string' && event.target.className.indexOf('mouse-select-wrap') !== -1) {
|
|
this.endX = event.offsetX
|
|
this.endX = event.offsetX
|