fix: 恢复id字段 否则option绑定key无法确定其唯一性

This commit is contained in:
ZiuChen 2022-09-18 16:50:36 +08:00
parent cea87be65d
commit 74b7e75d2f

View File

@ -5,28 +5,28 @@
"operation.shown": ["copy", "view", "collect", "remove"], "operation.shown": ["copy", "view", "collect", "remove"],
"operation.custom": [ "operation.custom": [
{ {
"id": "custom", "id": "custom.1663490858",
"title": "讯飞OCR识别", "title": "讯飞OCR识别",
"icon": "⚡", "icon": "⚡",
"match": ["image", { "type": "file", "regex": ".(?:jpg|jpeg|png)$" }], "match": ["image", { "type": "file", "regex": ".(?:jpg|jpeg|png)$" }],
"command": "redirect:讯飞ocr" "command": "redirect:讯飞ocr"
}, },
{ {
"id": "custom", "id": "custom.1663490859",
"title": "百度搜索", "title": "百度搜索",
"icon": "🔍", "icon": "🔍",
"match": ["text"], "match": ["text"],
"command": "redirect:百度一下" "command": "redirect:百度一下"
}, },
{ {
"id": "custom", "id": "custom.1663490860",
"title": "统计文本字数", "title": "统计文本字数",
"icon": "🧮", "icon": "🧮",
"match": ["text"], "match": ["text"],
"command": "redirect:统计文本次数" "command": "redirect:统计文本次数"
}, },
{ {
"id": "custom", "id": "custom.1663490861",
"title": "颜色管理", "title": "颜色管理",
"icon": "🎨", "icon": "🎨",
"match": [ "match": [
@ -38,28 +38,28 @@
"command": "redirect:统计文本次数" "command": "redirect:统计文本次数"
}, },
{ {
"id": "custom", "id": "custom.1663490862",
"title": "百度识图", "title": "百度识图",
"icon": "🌄", "icon": "🌄",
"match": ["image"], "match": ["image"],
"command": "redirect:百度识图" "command": "redirect:百度识图"
}, },
{ {
"id": "custom", "id": "custom.1663490863",
"title": "识别图片中二维码", "title": "识别图片中二维码",
"icon": "📜", "icon": "📜",
"match": ["image"], "match": ["image"],
"command": "redirect:识别图片中二维码" "command": "redirect:识别图片中二维码"
}, },
{ {
"id": "custom", "id": "custom.1663490864",
"title": "上传到图床", "title": "上传到图床",
"icon": "🚀", "icon": "🚀",
"match": ["image", { "type": "file", "regex": ".(?:jpg|jpeg|png)$" }], "match": ["image", { "type": "file", "regex": ".(?:jpg|jpeg|png)$" }],
"command": "redirect:上传到图床" "command": "redirect:上传到图床"
}, },
{ {
"id": "custom", "id": "custom.1663490865",
"title": "翻译", "title": "翻译",
"icon": "🌎", "icon": "🌎",
"match": ["text"], "match": ["text"],