Skip to content

Commit b963ba1

Browse files
committed
调整折叠逻辑
1 parent bf2c65a commit b963ba1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/components/dataBlockInner/coordArrInputs.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
class="coordarr-wrapper styled"
44
v-if="fnType.coordArr"
55
v-model="privateData"
6-
:animation="300"
6+
:animation="200"
77
handle="span.coordarr-drag"
88
>
99
<div

src/consts.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ export const fnTypeArr = [
222222
placeholder: ["0", "2π"],
223223
optional: true,
224224
defaultVal: [0, 2 * Math.PI],
225+
folded: true,
225226
},
226227
],
227228
switches: [{ value: "closed", label: "inputs.closed", folded: true }],
@@ -259,6 +260,7 @@ export const fnTypeArr = [
259260
fin: "]",
260261
placeholder: ["-π", "π"],
261262
optional: true,
263+
folded: true,
262264
defaultVal: [-Math.PI, Math.PI],
263265
},
264266
],
@@ -329,6 +331,7 @@ export const fnTypeArr = [
329331
fin: ")",
330332
placeholder: ["0", "0"],
331333
optional: true,
334+
folded: true,
332335
},
333336
],
334337
optInput: [
@@ -356,7 +359,7 @@ export const fnTypeArr = [
356359
{
357360
value: "location",
358361
label: "inputs.location",
359-
fir: " (",
362+
fir: " =(",
360363
sep: ",",
361364
fin: ")",
362365
placeholder: ["x", "y"],

0 commit comments

Comments
 (0)