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 => {
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
View File

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