mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-26 04:18:29 +00:00
no message
This commit is contained in:
parent
eb3524a22d
commit
63a792d169
10
resources/assets/js/directives/touchmouse.js
vendored
10
resources/assets/js/directives/touchmouse.js
vendored
@ -6,21 +6,21 @@ export default {
|
|||||||
start: e => {
|
start: e => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
isTouch = true;
|
isTouch = true;
|
||||||
binding.value("down", e);
|
binding.value("down", e, el);
|
||||||
},
|
},
|
||||||
move: e => {
|
move: e => {
|
||||||
if (isTouch) {
|
if (isTouch) {
|
||||||
binding.value("move", e);
|
binding.value("move", e, el);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
end: _ => {
|
end: e => {
|
||||||
if (isTouch) {
|
if (isTouch) {
|
||||||
isTouch = false;
|
isTouch = false;
|
||||||
binding.value("up");
|
binding.value("up", e, el);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
click: e => {
|
click: e => {
|
||||||
binding.value("click", e);
|
binding.value("click", e, el);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
if (isSupportTouch) {
|
if (isSupportTouch) {
|
||||||
|
|||||||
12
vite.config.js
vendored
12
vite.config.js
vendored
@ -87,6 +87,18 @@ export default defineConfig(({command, mode}) => {
|
|||||||
host,
|
host,
|
||||||
port,
|
port,
|
||||||
strictPort: false,
|
strictPort: false,
|
||||||
|
watch: {
|
||||||
|
ignored: [
|
||||||
|
'**/node_modules/**',
|
||||||
|
'**/storage/**',
|
||||||
|
'**/public/uploads/**',
|
||||||
|
'**/database/**',
|
||||||
|
'**/docker/**',
|
||||||
|
'**/tests/**',
|
||||||
|
'**/language/**',
|
||||||
|
'**/electron/**',
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user