We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5be1e4b commit 41b2f82Copy full SHA for 41b2f82
src/components/dataBlock.vue
@@ -49,14 +49,14 @@
49
:fnType="fnType"
50
:blockFolded="blockFolded"
51
/>
52
- <SwitchInputs
53
- v-if="fnType.switches"
+ <OptInputs
+ v-if="fnType.optInput"
54
:dataItem="dataItem"
55
56
57
58
- <OptInputs
59
- v-if="fnType.optInput"
+ <SwitchInputs
+ v-if="fnType.switches"
60
61
62
src/consts.ts
@@ -108,6 +108,7 @@ export const fnTypeArr = [
108
value: "color",
109
type: "text",
110
label: "颜色",
111
+ placeholder:'RGB / HEX / name'
112
},
113
],
114
0 commit comments