Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-11-28 17:24:03 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0298dd7ec771d68e69b65a9847cb41fdb7ad5bda
0298dd7e
1 parent
54541653
🐞 fix: touch 事件桌面端适配
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletions
package.json
src/App.vue
yarn.lock
package.json
View file @
0298dd7
...
...
@@ -12,6 +12,7 @@
"cypress:open"
:
"cypress open"
},
"dependencies"
:
{
"@vant/touch-emulator"
:
"^1.4.0"
,
"@vitejs/plugin-legacy"
:
"^1.8.2"
,
"@vueuse/core"
:
"^8.5.0"
,
"animate.css"
:
"^4.1.1"
,
...
...
src/App.vue
View file @
0298dd7
...
...
@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-05-26 23:52:36
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-11-2
7 09:35:32
* @LastEditTime: 2024-11-2
8 17:23:43
* @FilePath: /tswj/src/App.vue
* @Description:
-->
...
...
@@ -27,6 +27,7 @@ import vConsole from '@/utils/vconsole'
import wx from 'weixin-js-sdk'
import { wxJsAPI } from '@/api/wx/config'
import { apiList } from '@/api/wx/jsApiList.js'
import "@vant/touch-emulator"; // 桌面端适配
// 使用 include + pinia 状态管理动态缓存页面
const store = mainStore()
...
...
yarn.lock
View file @
0298dd7
...
...
@@ -243,6 +243,11 @@
resolved "https://mirrors.cloud.tencent.com/npm/@vant/popperjs/-/popperjs-1.3.0.tgz#e0eff017124b5b2352ef3b36a6df06277f4400f2"
integrity sha512-hB+czUG+aHtjhaEmCJDuXOep0YTZjdlRR+4MSmIFnkCQIxJaXLQdSsR90XWvAI2yvKUI7TCGqR8pQg2RtvkMHw==
"@vant/touch-emulator@^1.4.0":
version "1.4.0"
resolved "https://mirrors.cloud.tencent.com/npm/@vant/touch-emulator/-/touch-emulator-1.4.0.tgz#02420ca5f312a7eb6c36c349cbb8e80e6f29ff2f"
integrity sha512-Zt+zISV0+wpOew2S1siOJ3G22y+hapHAKmXM+FhpvWzsRc4qahaYXatCAITuuXt0EcDp7WvEeTO4F7p9AtX/pw==
"@vant/use@^1.6.0":
version "1.6.0"
resolved "https://mirrors.cloud.tencent.com/npm/@vant/use/-/use-1.6.0.tgz#237df3091617255519552ca311ffdfea9de59001"
...
...
Please
register
or
login
to post a comment