no message

This commit is contained in:
kuaifan 2025-08-19 11:58:24 +08:00
parent eb3524a22d
commit 63a792d169
2 changed files with 17 additions and 5 deletions

View File

@ -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
View File

@ -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: {