diff --git a/src/data/setting.json b/src/data/setting.json index 00a2717..8a715d3 100644 --- a/src/data/setting.json +++ b/src/data/setting.json @@ -5,28 +5,24 @@ "operation.shown": ["copy", "view", "collect", "remove"], "operation.custom": [ { - "id": "custom.1663468392", "title": "讯飞OCR识别", "icon": "⚡", - "match": ["image"], + "match": ["image", { "type": "file", "regex": ".(?:jpg|jpeg|png)$" }], "command": "redirect:讯飞ocr" }, { - "id": "custom.1663468466", "title": "百度搜索", "icon": "🔍", "match": ["text"], "command": "redirect:百度一下" }, { - "id": "custom.1663468466", "title": "上传到图床", "icon": "🚀", "match": ["image", { "type": "file", "regex": ".(?:jpg|jpeg|png)$" }], "command": "redirect:上传到图床" }, { - "id": "custom.1663476961", "title": "翻译", "icon": "🌎", "match": ["text"], diff --git a/src/style/cpns/setting.less b/src/style/cpns/setting.less index 4584186..b7a3437 100644 --- a/src/style/cpns/setting.less +++ b/src/style/cpns/setting.less @@ -15,6 +15,9 @@ width: 400px; } } + .el-textarea { + width: 70%; + } .path { width: 65%; } diff --git a/src/views/Setting.vue b/src/views/Setting.vue index ada36cb..5710833 100644 --- a/src/views/Setting.vue +++ b/src/views/Setting.vue @@ -46,6 +46,10 @@ /> +
+ 自定义功能 + +