-
Notifications
You must be signed in to change notification settings - Fork 6
/
mock.ts
49 lines (48 loc) · 1.32 KB
/
mock.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import { TaskTestSchema } from '../../src/types';
export const MOCK_SCHEMA: TaskTestSchema[] = [
{
order: 0,
type: 'radio',
title: '<p>hello</p><div class="media-wrap image-wrap"><img src="https://avatars1.githubusercontent.com/u/24959547?s=400&u=ac1013649afdf6f1ad6c83af70cff5611a150cbf&v=4"/></div><p>图中有几个长方形</p>',
options: [
{
order: 0,
content: '按照自上而下的顺序执行脚本',
},
{
order: 1,
content: '能够重复执行某段脚本',
},
{
order: 2,
type: 'img',
image: 'https://avatars1.githubusercontent.com/u/24959547?s=400&u=ac1013649afdf6f1ad6c83af70cff5611a150cbf&v=4',
},
{
order: 3,
content: '如果条件为真,重复执行分支条件积木里面的积木',
},
],
},
{
order: 1,
type: 'tof',
title: '<p>看了电视剧弗兰克无</p><img src="https://avatars1.githubusercontent.com/u/24959547?s=460&u=ac1013649afdf6f1ad6c83af70cff5611a150cbf&v=4" alt="" /><p>机肥料空间</p>',
optional: true,
options: [
{
order: 0,
content: '对',
},
{
order: 1,
content: '错',
},
],
},
{
order: 2,
type: 'bf',
title: '<p>看了电视____克无机肥料空间</p>',
},
];