File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed
src/nico/src/nico/components Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 15
15
16
16
<script >
17
17
import draggable from ' vuedraggable'
18
- import BlockParamEditor from " ./BlockParamEditor"
19
- import { FUNCTIONS_ONLY } from " ../constants"
20
- import _ from " lodash"
18
+ import BlockParamEditor from ' ./BlockParamEditor'
19
+ import { FUNCTIONS_ONLY } from ' ../constants'
20
+ import _ from ' lodash'
21
21
22
22
export default {
23
23
name: ' Block' ,
@@ -41,12 +41,10 @@ export default {
41
41
? { name: ' blocks' , pull: ' clone' , put: false }
42
42
: { name: ' blocks' }
43
43
},
44
- marsFuncs : () => FUNCTIONS_ONLY
44
+ marsFuncs : () => FUNCTIONS_ONLY ,
45
45
},
46
46
methods: {
47
- onClone (data ) {
48
- return _ .cloneDeep (data)
49
- }
47
+ onClone : data => _ .cloneDeep (data),
50
48
},
51
49
}
52
50
</script >
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ export default {
25
25
controlFlow: [
26
26
{
27
27
type: ' if' ,
28
- children: []
29
- }
28
+ children: [],
29
+ },
30
30
],
31
31
nicoFuncs: [
32
32
{
Original file line number Diff line number Diff line change @@ -15,11 +15,13 @@ export default {
15
15
name: ' BlockParamEditor' ,
16
16
props: {
17
17
value: {
18
+ type: Object ,
18
19
required: true ,
19
20
},
20
21
type: {
22
+ type: Object ,
21
23
required: true ,
22
- }
24
+ },
23
25
},
24
26
}
25
27
</script >
You can’t perform that action at this time.
0 commit comments