Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mall-webview
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
frontend
mall-webview
Commits
c0cf8cd2
Commit
c0cf8cd2
authored
May 06, 2025
by
hewenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 在非正式环境添加 vConsole 调试工具
- 在 index.html 中添加了一段脚本,用于在非 'geek.jkwljy.com' 域名下加载 vConsole - vConsole 是一个用于移动 web 页面的调试工具,可以帮助开发者更方便地进行调试和日志输出 - 该修改只在非正式环境中生效,确保了正式环境不受影响
parent
019a2bec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
index.html
public/index.html
+13
-0
No files found.
public/index.html
View file @
c0cf8cd2
...
...
@@ -10,6 +10,19 @@
<title>
我的奖励金
</title>
<script
src=
"//turing.captcha.qcloud.com/TCaptcha.js"
></script>
<script
src=
"//cdn.jkwljy.com/libs/skynet/index-1.1.4.js"
></script>
<script>
;(
function
(
win
,
doc
)
{
if
(
location
.
host
!==
'geek.jkwljy.com'
)
{
var
script
=
doc
.
createElement
(
'script'
)
script
.
src
=
'//cdn.jkwljy.com/libs/vConsole/3.15.0/vconsole.min.js'
doc
.
head
.
appendChild
(
script
)
script
.
onload
=
function
()
{
new
VConsole
()
}
}
})(
window
,
document
)
</script>
<script>
var
SkynetReport
=
window
.
SkynetReport
||
{};
if
(
SkynetReport
.
register
)
{
...
...
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