diff --git a/src/js/composer/commands/controlCommands.js b/src/js/composer/commands/controlCommands.js index 3ff5ad7..97efe52 100644 --- a/src/js/composer/commands/controlCommands.js +++ b/src/js/composer/commands/controlCommands.js @@ -132,16 +132,16 @@ export const controlCommands = { config: [ { name: "indexVar", - label: "元素", + label: "索引", component: "ControlInput", - defaultValue: "item", + defaultValue: "index", width: 4, }, { - name: "indexVar", - label: "索引", + name: "itemVar", + label: "元素", component: "ControlInput", - defaultValue: "i", + defaultValue: "item", width: 4, }, {