diff --git a/src/components/IndexCal/IndexCalModelEdit/indexCalModelEditPlusPlus.vue b/src/components/IndexCal/IndexCalModelEdit/indexCalModelEditPlusPlus.vue
index bda3002..d33edd8 100644
--- a/src/components/IndexCal/IndexCalModelEdit/indexCalModelEditPlusPlus.vue
+++ b/src/components/IndexCal/IndexCalModelEdit/indexCalModelEditPlusPlus.vue
@@ -108,9 +108,15 @@
+ v-for="item in ['string', 'int', 'number', 'float', 'file', 'numberArray', 'gearPositionWeight']">
+
+
+
+
+
+
diff --git a/src/components/IndexCal/types.ts b/src/components/IndexCal/types.ts
index e4dd3b3..72fa398 100644
--- a/src/components/IndexCal/types.ts
+++ b/src/components/IndexCal/types.ts
@@ -20,19 +20,26 @@ interface ValueFile extends BaseValueConfig {
interface ValueNumberArray extends BaseValueConfig {
type: "numberArray";
}
+interface ValueGearPositionWeight extends BaseValueConfig {
+ type: "gearPositionWeight";
+}
type ValueConfig =
| ValueString
| ValueInt
| ValueFloat
| ValueNumber
| ValueFile
- | ValueNumberArray;
+ | ValueNumberArray
+ | ValueGearPositionWeight;
interface CodeConfig {
python: string;
js: string;
}
type Lang = "python" | "js";
+
+
+
interface Index {
id: number;
indexPath?: string;