Skip to content

Commit 41b2f82

Browse files
committed
UI 调整
1 parent 5be1e4b commit 41b2f82

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/components/dataBlock.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@
4949
:fnType="fnType"
5050
:blockFolded="blockFolded"
5151
/>
52-
<SwitchInputs
53-
v-if="fnType.switches"
52+
<OptInputs
53+
v-if="fnType.optInput"
5454
:dataItem="dataItem"
5555
:fnType="fnType"
5656
:blockFolded="blockFolded"
5757
/>
58-
<OptInputs
59-
v-if="fnType.optInput"
58+
<SwitchInputs
59+
v-if="fnType.switches"
6060
:dataItem="dataItem"
6161
:fnType="fnType"
6262
:blockFolded="blockFolded"

src/consts.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ export const fnTypeArr = [
108108
value: "color",
109109
type: "text",
110110
label: "颜色",
111+
placeholder:'RGB / HEX / name'
111112
},
112113
],
113114
},

0 commit comments

Comments
 (0)