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-12-03 15:57:40 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c0869faecc36a98940644fea63eb478042d5c416
c0869fae
1 parent
7a44164c
fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
src/App.vue
src/App.vue
View file @
c0869fa
...
...
@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-05-26 23:52:36
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-1
1-28 17:23:43
* @LastEditTime: 2024-1
2-03 15:39:24
* @FilePath: /tswj/src/App.vue
* @Description:
-->
...
...
@@ -40,7 +40,8 @@ watchEffect(
)
onMounted(async () => {
const { data } = await wxJsAPI();
const raw_url = encodeURIComponent(location.pathname + location.hash);
const { data } = await wxJsAPI({url: raw_url});
data.jsApiList = apiList;
wx.config(data);
wx.ready(() => {
...
...
Please
register
or
login
to post a comment