mirror of
https://github.com/cool-team-official/cool-unix.git
synced 2026-10-07 13:08:50 +08:00
15 lines
263 B
TypeScript
15 lines
263 B
TypeScript
import { type PluginConfig } from "@/.cool";
|
|
|
|
// #ifdef H5
|
|
import TouchEmulator from "hammer-touchemulator";
|
|
// #endif
|
|
|
|
export default {
|
|
install(app) {
|
|
// #ifdef H5
|
|
// 模拟移动端调试的触摸事件
|
|
TouchEmulator();
|
|
// #endif
|
|
}
|
|
} as PluginConfig;
|