mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-16 08:04:18 +08:00
编排配置文件优化
This commit is contained in:
49
src/js/composer/commands/networkCommands.js
Normal file
49
src/js/composer/commands/networkCommands.js
Normal file
@@ -0,0 +1,49 @@
|
||||
export const networkCommands = {
|
||||
label: "网络操作",
|
||||
icon: "language",
|
||||
commands: [
|
||||
{
|
||||
value: "visit",
|
||||
label: "用默认浏览器打开网址",
|
||||
config: [
|
||||
{
|
||||
key: "url",
|
||||
label: "要访问的网址链接",
|
||||
type: "input",
|
||||
defaultValue: "",
|
||||
icon: "language",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
value: "utools.ubrowser.goto",
|
||||
label: "用ubrowser打开网址",
|
||||
config: [
|
||||
{
|
||||
key: "url",
|
||||
label: "要访问的网址链接",
|
||||
type: "input",
|
||||
defaultValue: "",
|
||||
icon: "public",
|
||||
},
|
||||
],
|
||||
isAsync: true,
|
||||
},
|
||||
{
|
||||
value: "ubrowser",
|
||||
label: "ubrowser浏览器操作",
|
||||
config: [],
|
||||
component: "UBrowserEditor",
|
||||
isAsync: true,
|
||||
icon: "public",
|
||||
},
|
||||
{
|
||||
value: "axios",
|
||||
label: "HTTP请求(Axios)",
|
||||
config: [],
|
||||
component: "AxiosConfigEditor",
|
||||
isAsync: true,
|
||||
icon: "http",
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user