> ## Documentation Index
> Fetch the complete documentation index at: https://rpa.bazhuayu.com/helpcenter/llms.txt
> Use this file to discover all available pages before exploring further.

# 修改列表

## 指令说明

**描述：** 修改列表指定位置的值

## 参数说明

<Tabs>
  <Tab title="常规">
    <img src="https://mintcdn.com/bazhuayu-rpa-docs/QLw4prvAN-mejJU5/helpcenter/commands/data-processing/images/updatelistitemcommand-01.png?fit=max&auto=format&n=QLw4prvAN-mejJU5&q=85&s=79b2344c4b9e8087fe53de2caca7109b" alt="修改列表指令参数面板" width="648" height="359" data-path="helpcenter/commands/data-processing/images/updatelistitemcommand-01.png" />

    | 参数      | 说明                        |
    | ------- | ------------------------- |
    | **列表**  | 输入列表变量                    |
    | **项位置** | 输入项位置，0表示第1项，1表示第2项...... |
    | **内容**  | 输入待修改的项内容                 |
  </Tab>

  <Tab title="高级">
    本指令暂无高级参数。
  </Tab>
</Tabs>

## 使用示例

<img src="https://mintcdn.com/bazhuayu-rpa-docs/QLw4prvAN-mejJU5/helpcenter/commands/data-processing/images/updatelistitemcommand-02.png?fit=max&auto=format&n=QLw4prvAN-mejJU5&q=85&s=eab2273411480beea0c3c6f61d2880ad" alt="修改列表使用示例" width="648" height="359" data-path="helpcenter/commands/data-processing/images/updatelistitemcommand-02.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/QLw4prvAN-mejJU5/helpcenter/commands/data-processing/images/updatelistitemcommand-03.png?fit=max&auto=format&n=QLw4prvAN-mejJU5&q=85&s=b68f3d6d3479bc479c32f84ec9f2c4f4" alt="修改列表使用示例" width="857" height="250" data-path="helpcenter/commands/data-processing/images/updatelistitemcommand-03.png" />

**该流程执行逻辑：**

1. 选择需要修改的列表，并设置目标项的位置和新内容。
2. 执行【修改列表】，用新内容替换指定位置的原列表项。
3. 指令直接更新原列表变量；后续读取该位置时会得到修改后的内容。

### 效果展示

<img src="https://mintcdn.com/bazhuayu-rpa-docs/QLw4prvAN-mejJU5/helpcenter/commands/data-processing/images/updatelistitemcommand-04.png?fit=max&auto=format&n=QLw4prvAN-mejJU5&q=85&s=2dcbbc05aa0326991aab571e2a7b45e5" alt="修改列表效果展示" width="835" height="213" data-path="helpcenter/commands/data-processing/images/updatelistitemcommand-04.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/QLw4prvAN-mejJU5/helpcenter/commands/data-processing/images/updatelistitemcommand-05.png?fit=max&auto=format&n=QLw4prvAN-mejJU5&q=85&s=d9b0ad4c9245394e38b7033773a16204" alt="修改列表效果展示" width="836" height="245" data-path="helpcenter/commands/data-processing/images/updatelistitemcommand-05.png" />

<Info>
  使用指令过程中遇到问题？前往 [八爪鱼RPA 开发者社区问答板块](https://rpa.bazhuayu.com/community/questions) 提问，获取官方与社区帮助。
</Info>
