{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/zh/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"更新环境标签"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"更新环境标签","__idx":0},"children":["更新环境标签"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["节点类型 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["browser_saveTag"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"功能说明","__idx":1},"children":["功能说明"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["更新浏览器环境的标签。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"客户端配置界面","__idx":2},"children":["客户端配置界面"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/save-tag.60fd25deb5d9fd4769efd8bcdbb4a553c6830cbc18b8c981073c9530fc079417.0538f3a9.webp","alt":"更新环境标签节点的客户端配置界面"},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["截图来自 MoreLogin 桌面客户端 V2.73.101 的英文界面。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"输入字段","__idx":3},"children":["输入字段"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下字段位于 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.browserUi.inputs"]},"。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"字段"},"children":["字段"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"类型或取值"},"children":["类型或取值"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Schema 必填"},"children":["Schema 必填"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"执行默认值"},"children":["执行默认值"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"说明与边界"},"children":["说明与边界"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"1\""]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"2\""]},"（支持变量引用）"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["否"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"1\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["更新方式 编辑器初值 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"1\""]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tags"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["array<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]},">（支持变量引用）"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["否"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["环境标签"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"条件与边界","__idx":4},"children":["条件与边界"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["tags 为非空字符串数组，自动去重；type=\"1\" 追加、\"2\" 替换。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["校验错误码 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["RPA_NODE_INPUT_INVALID"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"输入引用","__idx":5},"children":["输入引用"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"字段"},"children":["字段"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"允许的形式"},"children":["允许的形式"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["template"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tags"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["template"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"输出字段","__idx":6},"children":["输出字段"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"输出字段"},"children":["输出字段"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"类型或取值"},"children":["类型或取值"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["environmentId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["updated"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tags"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["array<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]},">"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tagIds"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["array<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]},">"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["按契约用 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["${nodeId.data.field}"]}," 引用公开字段。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"json-示例","__idx":7},"children":["JSON 示例"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["可放入流程 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["nodes"]}," 数组或其他节点 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["blocks"]}," 中的完整节点对象。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"id\": \"tag_checked\",\n  \"type\": \"browser_saveTag\",\n  \"data\": {\n    \"title\": \"添加“已检查”标签\",\n    \"browserAction\": \"saveTag\",\n    \"browserUi\": {\n      \"inputs\": {\n        \"type\": \"1\",\n        \"tags\": [\n          \"checked\"\n        ]\n      },\n      \"exception\": {\n        \"timeout\": 30000,\n        \"policy\": \"interrupt\"\n      }\n    }\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/zh/browser-rpa/nodes"},"children":["返回节点目录"]}]}]},"headings":[{"value":"更新环境标签","id":"更新环境标签","depth":1},{"value":"功能说明","id":"功能说明","depth":2},{"value":"客户端配置界面","id":"客户端配置界面","depth":2},{"value":"输入字段","id":"输入字段","depth":2},{"value":"条件与边界","id":"条件与边界","depth":2},{"value":"输入引用","id":"输入引用","depth":2},{"value":"输出字段","id":"输出字段","depth":2},{"value":"JSON 示例","id":"json-示例","depth":2}],"frontmatter":{"seo":{"title":"更新环境标签"}},"lastModified":"2026-11-20T14:40:39.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/zh/browser-rpa/nodes/environment/save-tag","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}