Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
middleLayer_for_debug
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_debug
Commits
a91cee4d
Commit
a91cee4d
authored
Jul 13, 2023
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat
parent
11878fbb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
middleLayer.ts
assets/middleLayer_for_debug/script/middleLayer.ts
+4
-4
No files found.
assets/middleLayer_for_debug/script/middleLayer.ts
View file @
a91cee4d
...
...
@@ -560,16 +560,16 @@ export default class NewClass extends middleLayerBase {
const
arr
=
str
.
split
(
"
,
"
);
const
pms
=
{};
if
(
arr
[
0
]
!=
undefined
&&
arr
[
0
]
!=
null
)
{
pms
[
"
x
"
]
=
arr
[
0
]
pms
[
"
x
"
]
=
parseInt
(
arr
[
0
]);
}
if
(
arr
[
1
]
!=
undefined
&&
arr
[
1
]
!=
null
)
{
pms
[
"
y
"
]
=
arr
[
1
]
pms
[
"
y
"
]
=
parseInt
(
arr
[
1
]);
}
if
(
arr
[
2
]
!=
undefined
&&
arr
[
2
]
!=
null
)
{
pms
[
"
width
"
]
=
arr
[
2
]
pms
[
"
width
"
]
=
parseInt
(
arr
[
2
]);
}
if
(
arr
[
3
]
!=
undefined
&&
arr
[
3
]
!=
null
)
{
pms
[
"
height
"
]
=
arr
[
3
]
pms
[
"
height
"
]
=
parseInt
(
arr
[
3
]);
}
this
.
hideUI
();
(
<
any
>
window
).
courseware
.
openRecognitionCamera
(
pms
,
()
=>
{
...
...
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