Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
813b45aa
Commit
813b45aa
authored
Feb 11, 2026
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决webview.js路径引用问题
parent
49c469da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
index.html
+1
-1
No files found.
index.html
View file @
813b45aa
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
</div>
</div>
<script
type=
"module"
src=
"/main.js"
></script>
<script
type=
"module"
src=
"/main.js"
></script>
<!-- uni 的 SDK,必须引用。 -->
<!-- uni 的 SDK,必须引用。 -->
<script
type=
"text/javascript"
src=
"
.
/static/uni.webview.1.5.4.js"
></script>
<script
type=
"text/javascript"
src=
"/static/uni.webview.1.5.4.js"
></script>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
// 验证脚本是否加载成功(调试关键:控制台打印 webViewJs 确认)
// 验证脚本是否加载成功(调试关键:控制台打印 webViewJs 确认)
const
webViewJs
=
window
.
uni
?.
webView
;
const
webViewJs
=
window
.
uni
?.
webView
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment