Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
AI_QUESTION_CHOSE
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
AI_QUESTION_CHOSE
Commits
d175907d
Commit
d175907d
authored
Aug 20, 2025
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat
parent
35ec0342
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
index.js
play/index.js
+9
-0
No files found.
play/index.js
View file @
d175907d
...
...
@@ -7,6 +7,14 @@ window.air.hideAirClassLoading(key,data); //页面加载完成时,必须调
*/
const
callServerMethod
=
(
method
,
data
,
callback
)
=>
{
window
.
courseware
.
onEvent
(
method
,
(
result
,
next
)
=>
{
callback
&&
callback
(
result
);
next
();
},
key
);
window
.
courseware
.
sendEvent
(
method
,
data
,
key
);
}
//对应模板的名称,这个可以不写,但是最好是能写上,同时开发多个模板的情况下如果不写这个,本地缓存可能会存在混乱
var
key
=
"
AI_QUESTION_CHOSE
"
;
...
...
@@ -147,6 +155,7 @@ new Vue({
// 延迟重置选择,让用户看到错误信息
setTimeout
(()
=>
{
this
.
resetAnswer
();
callServerMethod
(
'
finished
'
,
{});
},
2000
);
}
},
...
...
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