update fix typo,

This commit is contained in:
louiscklaw
2025-05-06 08:43:51 +08:00
parent 51935d203a
commit 99274b9c73

View File

@@ -11,7 +11,7 @@ module.exports = ($app) => {
"news (CR)", "news (CR)",
getAsset("ci_news.jpg"), getAsset("ci_news.jpg"),
1, 1,
{}, ["A", "B", "C"],
"visible", "visible",
"news", "news",
getAsset("keyboard.mp3"), getAsset("keyboard.mp3"),
@@ -20,14 +20,14 @@ module.exports = ($app) => {
"question_sh_1", "question_sh_1",
"modal_ans_1", "modal_ans_1",
cat_id_technology, cat_id_technology,
{}, ["A", "B", "C"],
], ],
[ [
getId("2"), getId("2"),
"sports (CR)", "sports (CR)",
getAsset("ci_sports.jpg"), getAsset("ci_sports.jpg"),
2, 2,
{}, ["A", "B", "C"],
"visible", "visible",
"sports", "sports",
getAsset("mouse.mp3"), getAsset("mouse.mp3"),
@@ -36,14 +36,14 @@ module.exports = ($app) => {
"question_sh_2", "question_sh_2",
"modal_ans_2", "modal_ans_2",
cat_id_technology, cat_id_technology,
{}, ["A", "B", "C"],
], ],
[ [
getId("3"), getId("3"),
"technology (CR)", "technology (CR)",
getAsset("ci_technology.jpg"), getAsset("ci_technology.jpg"),
3, 3,
{}, ["A", "B", "C"],
"visible", "visible",
"technology", "technology",
getAsset("keyboard.mp3"), getAsset("keyboard.mp3"),
@@ -52,14 +52,14 @@ module.exports = ($app) => {
"question_sh_3", "question_sh_3",
"modal_ans_3", "modal_ans_3",
cat_id_technology, cat_id_technology,
{}, ["A", "B", "C"],
], ],
[ [
getId("4"), getId("4"),
"art (CR)", "art (CR)",
getAsset("ci_art.jpg"), getAsset("ci_art.jpg"),
4, 4,
{}, ["A", "B", "C"],
"visible", "visible",
"art", "art",
getAsset("mouse.mp3"), getAsset("mouse.mp3"),
@@ -68,14 +68,14 @@ module.exports = ($app) => {
"question_sh_4", "question_sh_4",
"modal_ans_4", "modal_ans_4",
cat_id_technology, cat_id_technology,
{}, ["A", "B", "C"],
], ],
[ [
getId("5"), getId("5"),
"basic (CR)", "basic (CR)",
getAsset("ci_basic.jpg"), getAsset("ci_basic.jpg"),
5, 5,
{}, ["A", "B", "C"],
"visible", "visible",
"basic", "basic",
getAsset("keyboard.mp3"), getAsset("keyboard.mp3"),
@@ -84,14 +84,14 @@ module.exports = ($app) => {
"question_sh_5", "question_sh_5",
"modal_ans_5", "modal_ans_5",
cat_id_technology, cat_id_technology,
{}, ["A", "B", "C"],
], ],
[ [
getId("6"), getId("6"),
"nature (CR)", "nature (CR)",
getAsset("ci_nature.jpg"), getAsset("ci_nature.jpg"),
6, 6,
{}, ["A", "B", "C"],
"visible", "visible",
"nature", "nature",
getAsset("keyboard.mp3"), getAsset("keyboard.mp3"),
@@ -100,14 +100,14 @@ module.exports = ($app) => {
"question_sh_6", "question_sh_6",
"modal_ans_6", "modal_ans_6",
cat_id_technology, cat_id_technology,
{}, ["A", "B", "C"],
], ],
[ [
getId("7"), getId("7"),
"workplace (CR)", "workplace (CR)",
getAsset("ci_workplace.jpg"), getAsset("ci_workplace.jpg"),
7, 7,
{}, ["A", "B", "C"],
"visible", "visible",
"workplace", "workplace",
getAsset("keyboard.mp3"), getAsset("keyboard.mp3"),
@@ -116,14 +116,14 @@ module.exports = ($app) => {
"question_sh_7", "question_sh_7",
"modal_ans_7", "modal_ans_7",
cat_id_technology, cat_id_technology,
{}, ["A", "B", "C"],
], ],
[ [
getId("8"), getId("8"),
"workplace (CR)", "workplace (CR)",
getAsset("ci_workplace.jpg"), getAsset("ci_workplace.jpg"),
8, 8,
{}, ["A", "B", "C"],
"visible", "visible",
"workplace", "workplace",
getAsset("keyboard.mp3"), getAsset("keyboard.mp3"),
@@ -132,14 +132,14 @@ module.exports = ($app) => {
"question_sh_8", "question_sh_8",
"modal_ans_8", "modal_ans_8",
cat_id_technology, cat_id_technology,
{}, ["A", "B", "C"],
], ],
[ [
getId("99"), getId("99"),
"test hidden (CR)", "test hidden (CR)",
getAsset("ci_workplace.jpg"), getAsset("ci_workplace.jpg"),
9, 9,
{}, ["A", "B", "C"],
"hidden", "hidden",
"test", "test",
getAsset("keyboard.mp3"), getAsset("keyboard.mp3"),
@@ -148,7 +148,7 @@ module.exports = ($app) => {
"question_sh_9", "question_sh_9",
"modal_ans_9", "modal_ans_9",
cat_id_technology, cat_id_technology,
{}, ["A", "B", "C"],
], ],
]; ];
dirtyTruncateTable("QuizCRQuestions"); dirtyTruncateTable("QuizCRQuestions");
@@ -171,7 +171,7 @@ module.exports = ($app) => {
record.set("question_fh", lesson_type[9]); record.set("question_fh", lesson_type[9]);
record.set("question_sh", lesson_type[10]); record.set("question_sh", lesson_type[10]);
record.set("modal_ans", lesson_type[11]); record.set("modal_ans", lesson_type[11]);
record.set("caf_id", lesson_type[12]); record.set("cat_id", lesson_type[12]);
record.set("options", lesson_type[13]); record.set("options", lesson_type[13]);
$app.save(record); $app.save(record);