Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yl16_ai_cartoon
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
yl16_ai_cartoon
Commits
ab5f0a59
Commit
ab5f0a59
authored
Mar 11, 2026
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat
parent
ac0b9a4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
+13
-12
index.js
form/index.js
+13
-12
No files found.
form/index.js
View file @
ab5f0a59
...
...
@@ -84,14 +84,14 @@ new Vue({
window
.
air
.
hideAirClassLoading
(
key
,
data
);
}
if
(
data
)
{
if
(
data
.
image
Url
)
{
_this
.
imagePreviewUrl
=
data
.
image
Url
;
if
(
data
.
image
)
{
_this
.
imagePreviewUrl
=
data
.
image
;
}
if
(
data
.
audio
U
rl
)
{
_this
.
audioPreviewUrl
=
data
.
audio
U
rl
;
if
(
data
.
audio
_u
rl
)
{
_this
.
audioPreviewUrl
=
data
.
audio
_u
rl
;
}
if
(
Array
.
isArray
(
data
.
aiTagData
))
{
_this
.
aiTagData
=
data
.
aiTagData
;
if
(
Array
.
isArray
(
data
.
points
))
{
_this
.
aiTagData
=
data
.
points
;
}
if
(
typeof
data
.
aiImageContent
===
'
string
'
)
{
_this
.
aiImageContent
=
data
.
aiImageContent
;
...
...
@@ -99,8 +99,8 @@ new Vue({
if
(
Array
.
isArray
(
data
.
quizList
))
{
_this
.
quizList
=
data
.
quizList
;
}
if
(
data
.
scriptTex
t
)
{
_this
.
scriptText
=
data
.
scriptTex
t
;
if
(
data
.
ai_scrip
t
)
{
_this
.
scriptText
=
data
.
ai_scrip
t
;
}
}
_this
.
validateJson
();
...
...
@@ -589,13 +589,14 @@ new Vue({
return
;
}
var
data
=
{
image
Url
:
this
.
imagePreviewUrl
,
audio
U
rl
:
this
.
audioPreviewUrl
,
aiTagData
:
this
.
aiTagData
,
image
:
this
.
imagePreviewUrl
,
audio
_u
rl
:
this
.
audioPreviewUrl
,
points
:
this
.
aiTagData
,
aiImageContent
:
this
.
aiImageContent
,
quizList
:
this
.
quizList
,
scriptTex
t
:
this
.
scriptText
ai_scrip
t
:
this
.
scriptText
};
// console.log('saveData payload', JSON.stringify(data, null, 2));
window
.
courseware
.
setData
(
data
,
function
()
{},
key
);
},
validateJson
:
function
()
{
...
...
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