Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
middleLayer_for_kyxq
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
middleLayer_for_kyxq
Commits
d3ffbd8e
Commit
d3ffbd8e
authored
Nov 21, 2023
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
还原环境判断
parent
83849ca8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
air.js
assets/middleLayer_for_kyxq/script/air.js
+1
-1
No files found.
assets/middleLayer_for_kyxq/script/air.js
View file @
d3ffbd8e
...
...
@@ -466,7 +466,7 @@ export function initAir(_this) {
}
else
{
console
.
error
(
`非源生环境,网页版不支持
${
method
}
方法,将返回此方法的Mock数据以便于网页版调试使用`
);
if
(
method
==
'
getEngineInfo
'
){
window
.
air
.
getEngineInfoCallback
({
isDev
:
0
,
uuid
:
'
debug-xxxxxx-xxxxxx
'
,
version
:
'
1.0.2
'
});
window
.
air
.
getEngineInfoCallback
({
isDev
:
1
,
uuid
:
'
debug-xxxxxx-xxxxxx
'
,
version
:
'
1.0.2
'
});
}
else
if
(
method
==
'
logUpload
'
){
window
.
air
.
logFileUploadCallback
({
"
fileUrl
"
:
"
abcedfgh
"
,
"
error
"
:
""
});
}
else
if
(
method
==
'
startTest
'
)
{
...
...
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