Showing
3 changed files
with
8 additions
and
1 deletions
| ... | @@ -12,6 +12,7 @@ | ... | @@ -12,6 +12,7 @@ |
| 12 | "cypress:open": "cypress open" | 12 | "cypress:open": "cypress open" |
| 13 | }, | 13 | }, |
| 14 | "dependencies": { | 14 | "dependencies": { |
| 15 | + "@vant/touch-emulator": "^1.4.0", | ||
| 15 | "@vitejs/plugin-legacy": "^1.8.2", | 16 | "@vitejs/plugin-legacy": "^1.8.2", |
| 16 | "@vueuse/core": "^8.5.0", | 17 | "@vueuse/core": "^8.5.0", |
| 17 | "animate.css": "^4.1.1", | 18 | "animate.css": "^4.1.1", | ... | ... |
| ... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
| 2 | * @Author: hookehuyr hookehuyr@gmail.com | 2 | * @Author: hookehuyr hookehuyr@gmail.com |
| 3 | * @Date: 2022-05-26 23:52:36 | 3 | * @Date: 2022-05-26 23:52:36 |
| 4 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 4 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 5 | - * @LastEditTime: 2024-11-27 09:35:32 | 5 | + * @LastEditTime: 2024-11-28 17:23:43 |
| 6 | * @FilePath: /tswj/src/App.vue | 6 | * @FilePath: /tswj/src/App.vue |
| 7 | * @Description: | 7 | * @Description: |
| 8 | --> | 8 | --> |
| ... | @@ -27,6 +27,7 @@ import vConsole from '@/utils/vconsole' | ... | @@ -27,6 +27,7 @@ import vConsole from '@/utils/vconsole' |
| 27 | import wx from 'weixin-js-sdk' | 27 | import wx from 'weixin-js-sdk' |
| 28 | import { wxJsAPI } from '@/api/wx/config' | 28 | import { wxJsAPI } from '@/api/wx/config' |
| 29 | import { apiList } from '@/api/wx/jsApiList.js' | 29 | import { apiList } from '@/api/wx/jsApiList.js' |
| 30 | +import "@vant/touch-emulator"; // 桌面端适配 | ||
| 30 | 31 | ||
| 31 | // 使用 include + pinia 状态管理动态缓存页面 | 32 | // 使用 include + pinia 状态管理动态缓存页面 |
| 32 | const store = mainStore() | 33 | const store = mainStore() | ... | ... |
| ... | @@ -243,6 +243,11 @@ | ... | @@ -243,6 +243,11 @@ |
| 243 | resolved "https://mirrors.cloud.tencent.com/npm/@vant/popperjs/-/popperjs-1.3.0.tgz#e0eff017124b5b2352ef3b36a6df06277f4400f2" | 243 | resolved "https://mirrors.cloud.tencent.com/npm/@vant/popperjs/-/popperjs-1.3.0.tgz#e0eff017124b5b2352ef3b36a6df06277f4400f2" |
| 244 | integrity sha512-hB+czUG+aHtjhaEmCJDuXOep0YTZjdlRR+4MSmIFnkCQIxJaXLQdSsR90XWvAI2yvKUI7TCGqR8pQg2RtvkMHw== | 244 | integrity sha512-hB+czUG+aHtjhaEmCJDuXOep0YTZjdlRR+4MSmIFnkCQIxJaXLQdSsR90XWvAI2yvKUI7TCGqR8pQg2RtvkMHw== |
| 245 | 245 | ||
| 246 | +"@vant/touch-emulator@^1.4.0": | ||
| 247 | + version "1.4.0" | ||
| 248 | + resolved "https://mirrors.cloud.tencent.com/npm/@vant/touch-emulator/-/touch-emulator-1.4.0.tgz#02420ca5f312a7eb6c36c349cbb8e80e6f29ff2f" | ||
| 249 | + integrity sha512-Zt+zISV0+wpOew2S1siOJ3G22y+hapHAKmXM+FhpvWzsRc4qahaYXatCAITuuXt0EcDp7WvEeTO4F7p9AtX/pw== | ||
| 250 | + | ||
| 246 | "@vant/use@^1.6.0": | 251 | "@vant/use@^1.6.0": |
| 247 | version "1.6.0" | 252 | version "1.6.0" |
| 248 | resolved "https://mirrors.cloud.tencent.com/npm/@vant/use/-/use-1.6.0.tgz#237df3091617255519552ca311ffdfea9de59001" | 253 | resolved "https://mirrors.cloud.tencent.com/npm/@vant/use/-/use-1.6.0.tgz#237df3091617255519552ca311ffdfea9de59001" | ... | ... |
-
Please register or login to post a comment