mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-04 19:08:14 +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 => {
|
||||
e.preventDefault();
|
||||
isTouch = true;
|
||||
binding.value("down", e);
|
||||
binding.value("down", e, el);
|
||||
},
|
||||
move: e => {
|
||||
if (isTouch) {
|
||||
binding.value("move", e);
|
||||
binding.value("move", e, el);
|
||||
}
|
||||
},
|
||||
end: _ => {
|
||||
end: e => {
|
||||
if (isTouch) {
|
||||
isTouch = false;
|
||||
binding.value("up");
|
||||
binding.value("up", e, el);
|
||||
}
|
||||
},
|
||||
click: e => {
|
||||
binding.value("click", e);
|
||||
binding.value("click", e, el);
|
||||
}
|
||||
};
|
||||
if (isSupportTouch) {
|
||||
|
||||
12
vite.config.js
vendored
12
vite.config.js
vendored
@ -87,6 +87,18 @@ export default defineConfig(({command, mode}) => {
|
||||
host,
|
||||
port,
|
||||
strictPort: false,
|
||||
watch: {
|
||||
ignored: [
|
||||
'**/node_modules/**',
|
||||
'**/storage/**',
|
||||
'**/public/uploads/**',
|
||||
'**/database/**',
|
||||
'**/docker/**',
|
||||
'**/tests/**',
|
||||
'**/language/**',
|
||||
'**/electron/**',
|
||||
]
|
||||
}
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user